diff options
author | typebrook <typebrook@gmail.com> | 2019-12-17 16:10:07 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-12-17 16:10:07 +0800 |
commit | 9f17c652eed07828f024080c751769ad131ebae8 (patch) | |
tree | 7bb8de200b3dd619acb2d5bb3fedd99213e5bee4 /tigrc | |
parent | c344b41bcba6abd8108eb00212928b1641720d2d (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -96,9 +96,9 @@ bind main bn @git branch "%(prompt Enter branch name: )" %(commit) | |||
96 | bind main bN @git branch %(branch) --track %(remote)/%(branch) | 96 | bind main bN @git branch %(branch) --track %(remote)/%(branch) |
97 | bind main bu @git branch --set-upstream-to="%(prompt Set remote/branch: )" | 97 | bind main bu @git branch --set-upstream-to="%(prompt Set remote/branch: )" |
98 | bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit) | 98 | bind main bc @git checkout -b "%(prompt Checkout at new branch: )" %(commit) |
99 | bind main bd @git branch -d "%(prompt Delete branch: )" | 99 | bind generic bd @git branch -d "%(prompt Delete branch: )" |
100 | bind main bbd @git branch -d %(branch) | 100 | bind main bbd @git branch -d %(branch) |
101 | bind main bD ?>git branch -D "%(prompt Delete branch anyway: )" | 101 | bind generic bD ?>git branch -D "%(prompt Delete branch anyway: )" |
102 | bind main bbD ?>git branch -D %(branch) | 102 | bind main bbD ?>git branch -D %(branch) |
103 | bind main brd ?git branch -rd %(remote)/%(branch) | 103 | bind main brd ?git branch -rd %(remote)/%(branch) |
104 | bind main bv +sh -c "git branch -vv | grep %(branch)" | 104 | bind 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 | #==================== |
286 | bind refs b none | ||
286 | bind refs C none | 287 | bind refs C none |
287 | bind refs c @git checkout %(ref) | 288 | bind refs c @git checkout %(ref) |
288 | 289 | ||
289 | bind refs brd ?git branch -rd %(remote)/%(branch) | ||
290 | |||
291 | bind refs <Esc>f ?git fetch --all | 290 | bind refs <Esc>f ?git fetch --all |
292 | bind refs <C-F> ?git fetch %(remote) | 291 | bind refs <C-F> ?git fetch %(remote) |
293 | bind refs F ?git fetch %(remote) %(ref) | 292 | bind refs F ?git fetch %(remote) %(ref) |
294 | bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) | 293 | bind refs pr ?git push '%(prompt Push to which remote? )' %(ref):%(ref) |
294 | bind refs pd ?git push '%(prompt Delete from which remote? )' :%(ref) | ||
295 | 295 | ||
296 | bind refs . >sh -c "git diff --patch-with-stat %(branch) | tig" | 296 | 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" | 297 | bind refs > >sh -c "git diff --patch-with-stat %(branch) --prefix -U1000 | tig" |