aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-11-25 16:09:08 +0800
committertypebrook <typebrook@gmail.com>2019-11-25 16:09:08 +0800
commit7320e7b695c1c26d61b04c45186a6eddfa43a884 (patch)
tree75ddeb896d66b40073308dacf49c3a3e0688c363
parentf8e09e36642fa3f6e2efb04d42df79bf73e756fd (diff)
update
-rw-r--r--tigrc20
1 files changed, 10 insertions, 10 deletions
diff --git a/tigrc b/tigrc
index 4151466..19e3c85 100644
--- a/tigrc
+++ b/tigrc
@@ -148,18 +148,18 @@ bind main gb !?git rebase --onto '%(prompt Rebase onto which branch? )' %(commit
148bind main ! ?git revert %(commit) 148bind main ! ?git revert %(commit)
149 149
150# tag 150# tag
151bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) 151bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit)
152bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a 152bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a
153bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' 153bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)'
154bind main TM @sh -c 'git cat-file -p %(tag) | \ 154bind generic TM @sh -c 'git cat-file -p %(tag) | \
155 sed -n \'6,$p\' | \ 155 sed -n \'6,$p\' | \
156 git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)' 156 git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)'
157bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" 157bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )"
158bind main Ts >tig show %(tag) 158bind generic Ts >tig show %(tag)
159bind main Td @git tag -d "%(prompt Delete tag: )" 159bind generic Td @git tag -d "%(prompt Delete tag: )"
160bind main TTd @git tag -d %(tag) 160bind generic TTd @git tag -d %(tag)
161bind main pt ?git push %(remote) %(tag) 161bind generic pt ?git push --tags
162bind main pT ?git push --tags 162bind generic pT ?git push %(remote) %(tag)
163 163
164# search in history 164# search in history
165bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' 165bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw'