diff options
-rw-r--r-- | tigrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -142,13 +142,15 @@ bind main ! ?git revert %(commit) | |||
142 | bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) | 142 | bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) |
143 | bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a | 143 | bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a |
144 | bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' | 144 | bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' |
145 | bind main TM @sh -c 'git cat-file -p %(tag) | sed -n \'6,$p\' | git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)' | 145 | bind main TM @sh -c 'git cat-file -p %(tag) | \ |
146 | sed -n \'6,$p\' | \ | ||
147 | git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)' | ||
146 | bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" | 148 | bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" |
147 | bind main Ts >tig show %(tag) | 149 | bind main Ts >tig show %(tag) |
148 | bind main Td @git tag -d "%(prompt Delete tag: )" | 150 | bind main Td @git tag -d "%(prompt Delete tag: )" |
151 | bind main TTd @git tag -d %(tag) | ||
149 | bind main pt ?git push %(remote) %(tag) | 152 | bind main pt ?git push %(remote) %(tag) |
150 | bind main pT ?git push --tags | 153 | bind main pT ?git push --tags |
151 | bind main TTd @git tag -d %(tag) | ||
152 | 154 | ||
153 | # search in history | 155 | # search in history |
154 | bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' | 156 | bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' |