aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-29 18:52:27 +0800
committertypebrook <typebrook@gmail.com>2019-03-29 18:52:27 +0800
commit3e9e7a6b0d374403dcf1b0ceea5b46ca92cb51c8 (patch)
tree24f0e2653d899eb4a369aa585d30cd24de8259be /tigrc
parent2b3d67836c3ce95962f452c1c5e3e026f74d7c02 (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tigrc b/tigrc
index 921c7cd..af72383 100644
--- a/tigrc
+++ b/tigrc
@@ -76,10 +76,12 @@ bind main M ?git merge %(branch) --no-ff
76bind main p none 76bind main p none
77bind main pp ?git push 77bind main pp ?git push
78bind main pP ?git push -u %(remote) %(branch):%(branch) 78bind main pP ?git push -u %(remote) %(branch):%(branch)
79bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch)
79 80
80# reset/rebase/revert 81# reset/rebase/revert
81bind main u ?git reset %(commit) 82bind main u ?git reset %(commit)
82bind main U ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" 83bind main U ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'"
84bind main xu ?git reset %(commit) --hard
83bind main R !?git rebase -i %(commit) 85bind main R !?git rebase -i %(commit)
84bind main ! ?git revert %(commit) 86bind main ! ?git revert %(commit)
85 87