关注

今天学到的几个git的使用方法:
(1) Create Git Patch for Specific Commit:
`git format-patch -1 <commit_sha>`
and then apply the git patch:
`git apply <patch file name>`

(2) Change previous commit order/merge commits:
`git rebase -i <commit_sha> <branch name>`

(3) Silently commit to the current commit sha:
`git commit --amend --no-edit`

登录以加入对话
雾海

雾海是一个开放且不限制讨论主题的非营利性中文社区,名字来源于德国浪漫主义画家 Friedrich 的画作《雾海上的旅人》。生活总是在雾海中吞吐不定,不管怎么艰辛,他还是站在了这里!希望大家在这里玩的开心~