标签:upstream rem you ranch cmd user 事先 git push stream
cmd
cd project-directory
git init
git config user.name ‘yourname‘
git config user.email ‘youremail@domain.com‘
git pull https://github.com/yourname/yourrepository //不需要帐号密码
git log
…… //修改某些东西
git status
git diff
git add .
git commit -m ‘modify something‘
//git push –set-upstream url branchname
git push --set-upstream https://github.com/yourname/yourrepository master
//显然,需要 github 帐号,且事先在 github 建立仓库。
标签:upstream rem you ranch cmd user 事先 git push stream
原文地址:https://www.cnblogs.com/dailycode/p/9440418.html