diff options
-rw-r--r-- | tigrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -92,7 +92,7 @@ bind main gm ?git merge %(remote)/%(branch) # merge with current remote | |||
92 | bind main gM ?git merge %(remote)/%(branch) --no-ff # merge-no-ff with current remote | 92 | bind main gM ?git merge %(remote)/%(branch) --no-ff # merge-no-ff with current remote |
93 | 93 | ||
94 | # push | 94 | # push |
95 | bind main p none | 95 | bind main p none # override default pager binding |
96 | bind main pp ?git push | 96 | bind main pp ?git push |
97 | bind main pF ?git push -f | 97 | bind main pF ?git push -f |
98 | bind main pP ?git push -u %(remote) %(branch):%(branch) | 98 | bind main pP ?git push -u %(remote) %(branch):%(branch) |
@@ -108,7 +108,7 @@ bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch) | |||
108 | 108 | ||
109 | # reset/rebase/revert | 109 | # reset/rebase/revert |
110 | bind main uu ?git reset %(commit) | 110 | bind main uu ?git reset %(commit) |
111 | bind main us ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" | 111 | bind main us ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" # reset and stash the changes |
112 | bind main uh ?git reset %(commit) --hard | 112 | bind main uh ?git reset %(commit) --hard |
113 | bind main B !?git rebase -i %(commit) | 113 | bind main B !?git rebase -i %(commit) |
114 | bind main ! ?git revert %(commit) | 114 | bind main ! ?git revert %(commit) |
@@ -173,7 +173,7 @@ bind status gs !git stashstaged | |||
173 | # quick commit | 173 | # quick commit |
174 | bind status c @git commit -m "%(prompt Enter commit message: )" | 174 | bind status c @git commit -m "%(prompt Enter commit message: )" |
175 | bind status a ?>git commit --amend | 175 | bind status a ?>git commit --amend |
176 | bind status p ?>sh -c "git commit -m 'update' && git push" | 176 | bind status p ?>sh -c "git commit -m 'update' && git push" # quick push |
177 | 177 | ||
178 | bind status d ?>rm %(file) | 178 | bind status d ?>rm %(file) |
179 | 179 | ||