diff options
author | typebrook <typebrook@gmail.com> | 2019-11-25 16:09:08 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-11-25 16:09:08 +0800 |
commit | 7320e7b695c1c26d61b04c45186a6eddfa43a884 (patch) | |
tree | 75ddeb896d66b40073308dacf49c3a3e0688c363 /tigrc | |
parent | f8e09e36642fa3f6e2efb04d42df79bf73e756fd (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -148,18 +148,18 @@ bind main gb !?git rebase --onto '%(prompt Rebase onto which branch? )' %(commit | |||
148 | bind main ! ?git revert %(commit) | 148 | bind main ! ?git revert %(commit) |
149 | 149 | ||
150 | # tag | 150 | # tag |
151 | bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) | 151 | bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) |
152 | bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a | 152 | bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a |
153 | bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' | 153 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' |
154 | bind main TM @sh -c 'git cat-file -p %(tag) | \ | 154 | bind 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)' |
157 | bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" | 157 | bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" |
158 | bind main Ts >tig show %(tag) | 158 | bind generic Ts >tig show %(tag) |
159 | bind main Td @git tag -d "%(prompt Delete tag: )" | 159 | bind generic Td @git tag -d "%(prompt Delete tag: )" |
160 | bind main TTd @git tag -d %(tag) | 160 | bind generic TTd @git tag -d %(tag) |
161 | bind main pt ?git push %(remote) %(tag) | 161 | bind generic pt ?git push --tags |
162 | bind main pT ?git push --tags | 162 | bind generic pT ?git push %(remote) %(tag) |
163 | 163 | ||
164 | # search in history | 164 | # search in history |
165 | bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' | 165 | bind main S >sh -c 'git log -S "%(prompt Search: )" --pretty=raw | tig --pretty=raw' |