From 3e9e7a6b0d374403dcf1b0ceea5b46ca92cb51c8 Mon Sep 17 00:00:00 2001 From: typebrook Date: Fri, 29 Mar 2019 18:52:27 +0800 Subject: update --- tigrc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tigrc') 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 bind main p none bind main pp ?git push bind main pP ?git push -u %(remote) %(branch):%(branch) +bind main pr ?git push -u '%(prompt Which remote? )' %(branch):%(branch) # reset/rebase/revert bind main u ?git reset %(commit) bind main U ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" +bind main xu ?git reset %(commit) --hard bind main R !?git rebase -i %(commit) bind main ! ?git revert %(commit) -- cgit v1.2.3-70-g09d2