diff options
| author | typebrook <typebrook@gmail.com> | 2019-09-12 11:42:39 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-09-12 11:42:39 +0800 |
| commit | 7b8b15f4b697e49089657cfb7785b2edf207051a (patch) | |
| tree | 085cc25a9c7908822edcdfb8791483f0afd94fbe /tigrc | |
| parent | a21d9d52b39f1a3159630996a711983cacfe46ac (diff) | |
update
Diffstat (limited to 'tigrc')
| -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' |