2014年1月16日 星期四

[GIT] Commit code into different branch


[GIT] Commit code into different branch



Checkout the branch that you want

git checkout -b testing



Commit file and write some comment into it

git commit -a



Under the branch was called testing

git push

git push  ssh://happy@happy.biz:2222/home1/happy/git/burnimage



git clone -b testing ssh://happy@happy.biz:2222/home1/happy/git/burnimage



Reference:


Related Posts:

0 意見:

張貼留言