diff options
| author | typebrook <typebrook@gmail.com> | 2019-04-13 16:24:52 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-04-13 16:24:52 +0800 |
| commit | 6be361b67f40ca07f10e3daa00849573d19b51c9 (patch) | |
| tree | 52ac42be26c5e8c13cc4232a3716cb0499f9b3a0 /gitconfig | |
| parent | f6581a09b576bf18de0e9c08d907159b5a4e6bbf (diff) | |
update
Diffstat (limited to 'gitconfig')
| -rw-r--r-- | gitconfig | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -3,6 +3,8 @@ | |||
| 3 | name = typebrook | 3 | name = typebrook |
| 4 | 4 | ||
| 5 | [alias] | 5 | [alias] |
| 6 | cat = !git cat-file | ||
| 7 | catp = !git cat-file -p | ||
| 6 | reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2" | 8 | reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2" |
| 7 | stashstaged = !git stash --keep-index && \ | 9 | stashstaged = !git stash --keep-index && \ |
| 8 | git stash && \ | 10 | git stash && \ |