aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-12-17 16:10:07 +0800
committertypebrook <typebrook@gmail.com>2019-12-17 16:10:07 +0800
commit9f17c652eed07828f024080c751769ad131ebae8 (patch)
tree7bb8de200b3dd619acb2d5bb3fedd99213e5bee4 /tigrc
parentc344b41bcba6abd8108eb00212928b1641720d2d (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tigrc b/tigrc
index 638f250..b47885d 100644
--- a/tigrc
+++ b/tigrc
@@ -96,9 +96,9 @@ bind main bn @git branch "%(prompt Enter branch name: )" %(commit)
96bind main bN @git branch %(branch) --track %(remote)/%(branch) 96bind main bN @git branch %(branch) --track %(remote)/%(branch)
97bind main bu @git branch --set-upstream-to="%(prompt Set remote/branch: )" 97bind main bu @git branch --set-upstream-to="%(prompt Set remote/branch: )"
98bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit) 98bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit)
99bind main bd @git branch -d "%(prompt Delete branch: )" 99bind generic bd @git branch -d "%(prompt Delete branch: )"
100bind main bbd @git branch -d %(branch) 100bind main bbd @git branch -d %(branch)
101bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" 101bind generic bD ?>git branch -D "%(prompt Delete branch anyway: )"
102bind main bbD ?>git branch -D %(branch) 102bind main bbD ?>git branch -D %(branch)
103bind main brd ?git branch -rd %(remote)/%(branch) 103bind main brd ?git branch -rd %(remote)/%(branch)
104bind main bv +sh -c "git branch -vv | grep %(branch)" 104bind main bv +sh -c "git branch -vv | grep %(branch)"
@@ -283,15 +283,15 @@ bind tree . >sh -c "git diff --patch-with-stat %(ref) -- %(file) | tig"
283#==================== 283#====================
284# refs view 284# refs view
285#==================== 285#====================
286bind refs b none
286bind refs C none 287bind refs C none
287bind refs c @git checkout %(ref) 288bind refs c @git checkout %(ref)
288 289
289bind refs brd ?git branch -rd %(remote)/%(branch)
290
291bind refs <Esc>f ?git fetch --all 290bind refs <Esc>f ?git fetch --all
292bind refs <C-F> ?git fetch %(remote) 291bind refs <C-F> ?git fetch %(remote)
293bind refs F ?git fetch %(remote) %(ref) 292bind refs F ?git fetch %(remote) %(ref)
294bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) 293bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref)
294bind refs pd ?git push '%(prompt Delete from which remote? )' :%(ref)
295 295
296bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" 296bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig"
297bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" 297bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig"