aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tigrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index acad8f4..3cb9a08 100644
--- a/tigrc
+++ b/tigrc
@@ -142,13 +142,15 @@ bind main ! ?git revert %(commit)
142bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) 142bind main Tn @git tag "%(prompt Enter tag name: )" %(commit)
143bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a 143bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a
144bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' 144bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)'
145bind 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)' 145bind 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)'
146bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" 148bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )"
147bind main Ts >tig show %(tag) 149bind main Ts >tig show %(tag)
148bind main Td @git tag -d "%(prompt Delete tag: )" 150bind main Td @git tag -d "%(prompt Delete tag: )"
151bind main TTd @git tag -d %(tag)
149bind main pt ?git push %(remote) %(tag) 152bind main pt ?git push %(remote) %(tag)
150bind main pT ?git push --tags 153bind main pT ?git push --tags
151bind main TTd @git tag -d %(tag)
152 154
153# search in history 155# search in history
154bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' 156bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw'