aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/tigrc b/tigrc
index 0dba11c..98c8cf2 100644
--- a/tigrc
+++ b/tigrc
@@ -89,8 +89,8 @@ bind main 3 >git commit --allow-empty -m "%(prompt Empty commit, enter message:
89# merge 89# merge
90bind main m ?git merge %(commit) 90bind main m ?git merge %(commit)
91bind main M ?git merge %(branch) --no-ff 91bind main M ?git merge %(branch) --no-ff
92bind main gm ?git merge %(remote)/%(branch) 92bind main gm ?git merge %(remote)/%(branch) # merge with current remote
93bind main gM ?git merge %(remote)/%(branch) --no-ff 93bind main gM ?git merge %(remote)/%(branch) --no-ff # merge-no-ff with current remote
94 94
95# push 95# push
96bind main p none 96bind main p none
@@ -102,8 +102,8 @@ bind main pd ?git push %(remote) :%(branch)
102bind main pD ?git push '%(prompt Which remote? )' :'%(prompt Which branch? )' 102bind main pD ?git push '%(prompt Which remote? )' :'%(prompt Which branch? )'
103 103
104# fetch 104# fetch
105bind main gf ?git fetch %(remote) 105bind main gf ?git fetch %(remote) # Go to Fetch
106bind main gF ?git fetch '%(prompt Which remote? )' 106bind main gF ?git fetch '%(prompt Which remote? )' # Go to Fetch certain remote
107bind main pu ?git pull 107bind main pu ?git pull
108bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch) 108bind main pU ?git pull '%(prompt Which remote? )' %(branch):%(branch)
109 109
@@ -170,7 +170,6 @@ bind status k :?^[MADRU?]
170bind status s ?>git stash 170bind status s ?>git stash
171bind status S @git stash push -m "%(prompt Enter stash name: )" 171bind status S @git stash push -m "%(prompt Enter stash name: )"
172bind status gs !git stashstaged 172bind status gs !git stashstaged
173bind status U ?>git reset --hard
174 173
175# quick commit 174# quick commit
176bind status c @git commit -m "%(prompt Enter commit message: )" 175bind status c @git commit -m "%(prompt Enter commit message: )"
@@ -180,11 +179,12 @@ bind status p ?>sh -c "git commit -m 'update' && git push"
180bind status d ?>rm %(file) 179bind status d ?>rm %(file)
181 180
182# solve conflict 181# solve conflict
182bind status U ?>git reset --hard
183bind status gc @git clean -f
183bind status Ra @git rebase --abort 184bind status Ra @git rebase --abort
184bind status Rc @git rebase --continue 185bind status Rc @git rebase --continue
185bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\"" 186bind status <F4> !sh -c "git difftool -y \"$(git rev-parse --show-toplevel)/%(file)\""
186bind status Tu @git update-index --assume-unchanged %(file) 187bind status Tu @git update-index --assume-unchanged %(file)
187bind status gc @git clean -f
188 188
189# apply patch file 189# apply patch file
190bind status <C-O> ?git am %(file) 190bind status <C-O> ?git am %(file)