diff options
| -rw-r--r-- | tigrc | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -206,9 +206,12 @@ bind blob m >tig -- %(file) | |||
| 206 | bind status j :/^[MADRU?] | 206 | bind status j :/^[MADRU?] |
| 207 | bind status k :?^[MADRU?] | 207 | bind status k :?^[MADRU?] |
| 208 | 208 | ||
| 209 | # quick stage | 209 | # update index |
| 210 | bind status A @git add . | 210 | bind status A @git add . |
| 211 | bind status R @git reset | 211 | bind status R @git reset |
| 212 | bind status gu @git update-index --assume-unchanged %(file) # ignore file | ||
| 213 | bind status gn >sh -c "git ls-files -v | grep '^h ' | cut -d' ' -f2 | \ | ||
| 214 | xargs git update-index --no-assume-unchanged" # resume ignored files | ||
| 212 | 215 | ||
| 213 | # stash | 216 | # stash |
| 214 | bind status s ?>git stash | 217 | bind status s ?>git stash |
| @@ -229,7 +232,6 @@ bind status gc @git clean -f | |||
| 229 | bind status Ba @git rebase --abort | 232 | bind status Ba @git rebase --abort |
| 230 | bind status Bc @git rebase --continue | 233 | bind status Bc @git rebase --continue |
| 231 | bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" | 234 | bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" |
| 232 | bind status gu @git update-index --assume-unchanged %(file) | ||
| 233 | 235 | ||
| 234 | # apply patch file | 236 | # apply patch file |
| 235 | bind status <C-O> ?git am %(file) | 237 | bind status <C-O> ?git am %(file) |