diff options
| author | typebrook <typebrook@gmail.com> | 2019-05-01 23:05:36 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-05-01 23:05:36 +0800 |
| commit | 1af9feadf3ab3a78b6ad573d6e661e16acc6fd0b (patch) | |
| tree | 12b8f87f7ec66c99211c1ab750cdd98f1b356cdf /tigrc | |
| parent | e1b0ddd1a9b9023b955ced1ae4194469b265d01e (diff) | |
update
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 12 |
1 files changed, 8 insertions, 4 deletions
| @@ -121,12 +121,13 @@ bind main Tp ?git push --tags | |||
| 121 | bind main pt ?git push %(remote) %(tag) | 121 | bind main pt ?git push %(remote) %(tag) |
| 122 | bind main TTd @git tag -d %(tag) | 122 | bind main TTd @git tag -d %(tag) |
| 123 | 123 | ||
| 124 | # android | 124 | # submodule |
| 125 | bind main <C-B> !sh scripts/bump_version.sh | 125 | bind main Su ?>git submodule update |
| 126 | bind main Si ?>git submodule init | ||
| 126 | 127 | ||
| 127 | # make patches | 128 | # make patches |
| 128 | bind main S ?>git format-patch -1 %(commit) | 129 | bind main ZZ ?>git format-patch %(commit) |
| 129 | bind main <C-S> ?>git format-patch %(commit) | 130 | bind main Z1 ?>git format-patch -1 %(commit) |
| 130 | 131 | ||
| 131 | # show diff based on revision | 132 | # show diff based on revision |
| 132 | bind main . >sh -c "git diff %(commit) | tig" | 133 | bind main . >sh -c "git diff %(commit) | tig" |
| @@ -136,6 +137,9 @@ bind main > >sh -c "git diff %(commit) --no-prefix -U1000 | tig" | |||
| 136 | bind main i @hub browse -- commit/%(commit) | 137 | bind main i @hub browse -- commit/%(commit) |
| 137 | bind main I >sh -c "hub issue | tig" | 138 | bind main I >sh -c "hub issue | tig" |
| 138 | 139 | ||
| 140 | # android | ||
| 141 | bind main <C-B> !sh scripts/bump_version.sh | ||
| 142 | |||
| 139 | # note | 143 | # note |
| 140 | #bind generic gnn !git notes edit %(commit) | 144 | #bind generic gnn !git notes edit %(commit) |
| 141 | #bind generic gnr !git notes remove %(commit) | 145 | #bind generic gnr !git notes remove %(commit) |