aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index 6c069ef..70d1234 100644
--- a/tigrc
+++ b/tigrc
@@ -296,6 +296,7 @@ bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig"
296# refs view 296# refs view
297#==================== 297#====================
298bind refs b none 298bind refs b none
299bind refs r none
299bind refs C none 300bind refs C none
300bind refs c @git checkout %(ref) 301bind refs c @git checkout %(ref)
301 302
@@ -305,12 +306,15 @@ bind refs F ?git fetch %(remote) %(ref)
305bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) 306bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref)
306bind refs pd ?git push %(remote) :%(ref) 307bind refs pd ?git push %(remote) :%(ref)
307bind refs pD ?git push '%(prompt Delete from which remote? )' :%(ref) 308bind refs pD ?git push '%(prompt Delete from which remote? )' :%(ref)
308bind refs r none
309bind refs rd ?git branch --remotes -D %(remote)/%(ref) 309bind refs rd ?git branch --remotes -D %(remote)/%(ref)
310 310
311bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" 311bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig"
312bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" 312bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig"
313 313
314# get the remotes contains given tag
315bind refs r none
316bind refs rr !sh -c "git remote | xargs -I{} sh -c 'echo {} $(git ls-remote {} %(ref))' | grep -E ' ' | cut -d' ' -f1"
317
314#==================== 318#====================
315# log view 319# log view
316#==================== 320#====================