2016年12月15日 星期四

【Git】basic command

$ git checkout -b debug
Switched to a new branch 'debug'
$ git checkout master
Switched to branch 'master'
$ git merge debug
將 debug 分支合併回 master
$ git branch -d debug
Deleted branch debug. $ git commit -m "commit message" 改變指標 $ git reset 會移動分支 $ git log 秀出分支的頭到尾