Fork me on GitHub

git branch   look at your branches

 

git branch newbranch

git checkout newbrach

do something

git checkout master

git merge newbranch

git branch -d newbrach

 

git push new branch

http://stackoverflow.com/questions/2765421/push-a-new-local-branch-to-a-remote-git-repo-and-track-it-too

posted on 2014-05-26 15:24  huashiyiqike  阅读(871)  评论(0编辑  收藏  举报