Last active
August 29, 2015 14:10
-
-
Save elrrrrrrr/d191f48d67e60a65e878 to your computer and use it in GitHub Desktop.
git commit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //合并多个commit提交信息 例如提交纪录 A-B-C-D-E | |
| //rebase至 前一个commit 即B | |
| git rebase -i B | |
| //将B的action写成splash或者s | |
| git rebase --continue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git reflog | |
| git cherry-pick <hash> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git filter-branch --tree-filter "rm -rf node_modules" | |
| git push --force |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment