git init git add . git commit -m 'first commit' git remote add origin http://ip/group/project-name.git git push -u origin master git checkout -b dev git push -f origin dev 这一步没试过,如果这一步可以,那么第6步将变为:git push -u orgin dev git pull --rebase origin dev 1.分支dev下查看提交日…