aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-08 15:59:48 +0800
committertypebrook <typebrook@gmail.com>2019-12-08 15:59:48 +0800
commite9c7bb34bd9778deebf3540640dc155c041840dd (patch)
tree13f6be69b047280ea6232ba4681e786daa23830d /tigrc
parenta0e31953a99accf145e6242b7de20f71789e1515 (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tigrc b/tigrc
index 4e34004..4f09186 100644
--- a/tigrc
+++ b/tigrc
@@ -152,9 +152,9 @@ bind main ! ?git revert %(commit)
152bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit) 152bind generic Tn @git tag "%(prompt Enter tag name: )" %(commit)
153bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a 153bind generic TN !git tag "%(prompt Enter tag name: )" %(commit) -a
154bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' 154bind generic Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)'
155bind generic TM @sh -c 'git cat-file -p %(tag) | \ 155bind 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'
158bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" 158bind generic Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )"
159bind generic Ts >tig show %(tag) 159bind generic Ts >tig show %(tag)
160bind generic Td @git tag -d "%(prompt Delete tag: )" 160bind generic Td @git tag -d "%(prompt Delete tag: )"
@@ -291,7 +291,8 @@ bind refs brd ?git branch -rd %(remote)/%(branch)
291bind refs <Esc>f ?git fetch --all 291bind refs <Esc>f ?git fetch --all
292bind refs <C-F> ?git fetch %(remote) 292bind refs <C-F> ?git fetch %(remote)
293bind refs F ?git fetch %(remote) %(ref) 293bind refs F ?git fetch %(remote) %(ref)
294bind refs pd ?git push %(remote) :%(ref) 294bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref)
295bind refs pd ?git push '%(prompt Delete from which remote? )' :%(ref)
295 296
296bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" 297bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig"
297bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" 298bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig"