1. 程式人生 > >git 新建分支推送到本地

git 新建分支推送到本地

1.

git branch new_branch

git checkout new_branch

或者

git checkout -b new_branch

2. 

git add.

git commit -s -m “creat new_branch”

git push origin feihu:feihu

":"   local_branch_name: remount_branch_name