diff options
| author | typebrook <typebrook@gmail.com> | 2019-03-26 11:42:14 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-03-26 11:42:14 +0800 |
| commit | 18ba127ec3ab476d4cfca56479c8a1ce372bb577 (patch) | |
| tree | 8de3c2b67505e16d5a390c368e84058880280f0c | |
| parent | 1059e1441e0f12506690d2e2b4b33c6700bced08 (diff) | |
update
| -rw-r--r-- | tigrc | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -66,7 +66,6 @@ bind status s ?git stash | |||
| 66 | bind status S @git stash push -m "%(prompt Enter stash name: )" | 66 | bind status S @git stash push -m "%(prompt Enter stash name: )" |
| 67 | bind status gs !git stashstaged | 67 | bind status gs !git stashstaged |
| 68 | bind status p !git checkout --patch -- %(file) | 68 | bind status p !git checkout --patch -- %(file) |
| 69 | bind status Tu @git update-index --assume-unchanged %(file) | ||
| 70 | 69 | ||
| 71 | bind status c @git commit -m "%(prompt Enter commit message: )" | 70 | bind status c @git commit -m "%(prompt Enter commit message: )" |
| 72 | bind status C !git commit | 71 | bind status C !git commit |
| @@ -74,6 +73,9 @@ bind status a ?git commit --amend | |||
| 74 | 73 | ||
| 75 | bind status D ?rm %(file) | 74 | bind status D ?rm %(file) |
| 76 | 75 | ||
| 76 | bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" | ||
| 77 | bind status Tu @git update-index --assume-unchanged %(file) | ||
| 78 | |||
| 77 | # stash view | 79 | # stash view |
| 78 | bind stash a ?git stash apply %(stash) | 80 | bind stash a ?git stash apply %(stash) |
| 79 | bind stash n @sh -c "git stash drop %(stash) | \ | 81 | bind stash n @sh -c "git stash drop %(stash) | \ |
| @@ -95,4 +97,3 @@ bind refs bD ?git branch -D %(branch) | |||
| 95 | # color | 97 | # color |
| 96 | color diff-header black yellow | 98 | color diff-header black yellow |
| 97 | color diff-chunk white magenta | 99 | color diff-chunk white magenta |
| 98 | bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" | ||