diff options
author | typebrook <typebrook@gmail.com> | 2020-01-14 12:23:02 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-01-14 12:23:02 +0800 |
commit | 9ab50952052b5c93704820239251e9ffb8da51fa (patch) | |
tree | 49a7255b3eef0943cbf19992c1522fc01542c6b9 /tigrc | |
parent | 213136c14ae64c8fbf93fedc205e31e462e5e007 (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -141,9 +141,8 @@ bind main pu !git pull | |||
141 | bind main pU ?git pull --rebase | 141 | bind main pU ?git pull --rebase |
142 | 142 | ||
143 | # reset/rebase/revert | 143 | # reset/rebase/revert |
144 | bind main uu ?git reset %(commit) | 144 | bind main uu ?git reset %(commit) --soft |
145 | bind main uh ?git reset %(commit) --hard | 145 | bind main uh ?git reset %(commit) --hard |
146 | bind main us ?git reset %(commit) --soft | ||
147 | bind main uS ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" # reset and stash the changes | 146 | bind main uS ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" # reset and stash the changes |
148 | bind main B !?git rebase -i %(commit) | 147 | bind main B !?git rebase -i %(commit) |
149 | bind main gb !?git rebase --onto '%(prompt Rebase onto which branch? )' %(commit) %(repo:head) | 148 | bind main gb !?git rebase --onto '%(prompt Rebase onto which branch? )' %(commit) %(repo:head) |