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 merge branch,布布扣,bubuko.com
git merge branch
原文:http://www.cnblogs.com/huashiyiqike/p/3753179.html