git branch -a
git checkout -b xxx
git status
git add .
git commit -m "xxxxxx"
git checkout master
git pull 最新 (git pull)
git push origin xxx:xxx (把新建的本地分支push到远程服务器,远程分支与本地分支同名(当然可以随意起名))
git merge xxx
注:这里的xxx 是同一个名字
git branch -a
git checkout -b xxx
git status
git add .
git commit -m "xxxxxx"
git checkout master
git pull 最新 (git pull)
git push origin xxx:xxx (把新建的本地分支push到远程服务器,远程分支与本地分支同名(当然可以随意起名))
git merge xxx
注:这里的xxx 是同一个名字