TheOneAC

init


  • Home

  • Categories

  • Archives

  • Tags

Git command

Posted on 2016-07-05   |   In Notes

Git Command Sheet
$ git add forgotten_file
$ git checkout branch1
$ git commit –amend :overwrite the previous commit
$ git commit -m ‘initial commit’

$ git rebase master #git merge master branch1


1.one branch is the ancester of another -> fast-forward
2.two branch has commom ancester -> recursive strategy

Read more »
1…56
TheOneAC

TheOneAC

生如逆旅 一苇可航

51 posts
20 categories
33 tags
GitHub Email Quora 知乎
© 2016.7.14 - 2017 TheOneAC
Powered by Hexo
Theme - NexT.Mist