aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-05-02 16:59:51 +0800
committertypebrook <typebrook@gmail.com>2019-05-02 16:59:51 +0800
commit07805bdbcd92cc840183b503ac85492b366dd85f (patch)
tree4f127f8da607379e8dc7faa06e8c877d78201034
parentbaa590296e111f2553752a864feeebd512be3c25 (diff)
update
-rw-r--r--tigrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tigrc b/tigrc
index a486093..4673e48 100644
--- a/tigrc
+++ b/tigrc
@@ -92,7 +92,7 @@ bind main gm ?git merge %(remote)/%(branch) # merge with current remote
92bind main gM ?git merge %(remote)/%(branch) --no-ff # merge-no-ff with current remote 92bind main gM ?git merge %(remote)/%(branch) --no-ff # merge-no-ff with current remote
93 93
94# push 94# push
95bind main p none 95bind main p none # override default pager binding
96bind main pp ?git push 96bind main pp ?git push
97bind main pF ?git push -f 97bind main pF ?git push -f
98bind main pP ?git push -u %(remote) %(branch):%(branch) 98bind 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
110bind main uu ?git reset %(commit) 110bind main uu ?git reset %(commit)
111bind main us ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" 111bind main us ?sh -c "git reset %(commit) && git stash push -m 'deprecated from reset'" # reset and stash the changes
112bind main uh ?git reset %(commit) --hard 112bind main uh ?git reset %(commit) --hard
113bind main B !?git rebase -i %(commit) 113bind main B !?git rebase -i %(commit)
114bind main ! ?git revert %(commit) 114bind main ! ?git revert %(commit)
@@ -173,7 +173,7 @@ bind status gs !git stashstaged
173# quick commit 173# quick commit
174bind status c @git commit -m "%(prompt Enter commit message: )" 174bind status c @git commit -m "%(prompt Enter commit message: )"
175bind status a ?>git commit --amend 175bind status a ?>git commit --amend
176bind status p ?>sh -c "git commit -m 'update' && git push" 176bind status p ?>sh -c "git commit -m 'update' && git push" # quick push
177 177
178bind status d ?>rm %(file) 178bind status d ?>rm %(file)
179 179