diff options
author | typebrook <typebrook@gmail.com> | 2019-12-08 15:59:48 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-08 15:59:48 +0800 |
commit | e9c7bb34bd9778deebf3540640dc155c041840dd (patch) | |
tree | 13f6be69b047280ea6232ba4681e786daa23830d /tigrc | |
parent | a0e31953a99accf145e6242b7de20f71789e1515 (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -152,9 +152,9 @@ bind main ! ?git revert %(commit) | |||
152 | bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) | 152 | bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) |
153 | bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a | 153 | bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a |
154 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' | 154 | bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' |
155 | bind generic TM @sh -c 'git cat-file -p %(tag) | \ | 155 | bind generic TM @sh -c 'git cat-file -p %(tag) |\ |
156 | sed -n \'6,$p\' | \ | 156 | sed -n \'6,$p\' |\ |
157 | git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)' | 157 | (git tag -d %(tag) && git tag "%(prompt Rename into? )" -a -F -) > /dev/null' |
158 | bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" | 158 | bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" |
159 | bind generic Ts >tig show %(tag) | 159 | bind generic Ts >tig show %(tag) |
160 | bind generic Td @git tag -d "%(prompt Delete tag: )" | 160 | bind generic Td @git tag -d "%(prompt Delete tag: )" |
@@ -291,7 +291,8 @@ bind refs brd ?git branch -rd %(remote)/%(branch) | |||
291 | bind refs <Esc>f ?git fetch --all | 291 | bind refs <Esc>f ?git fetch --all |
292 | bind refs <C-F> ?git fetch %(remote) | 292 | bind refs <C-F> ?git fetch %(remote) |
293 | bind refs F ?git fetch %(remote) %(ref) | 293 | bind refs F ?git fetch %(remote) %(ref) |
294 | bind refs pd ?git push %(remote) :%(ref) | 294 | bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) |
295 | bind refs pd ?git push '%(prompt Delete from which remote? )' :%(ref) | ||
295 | 296 | ||
296 | bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" | 297 | bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" |
297 | bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" | 298 | bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" |