diff options
-rw-r--r-- | tigrc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -52,7 +52,7 @@ bind generic Uprf ?git fetch "%(prompt Fetch from which remote? )" pull/"%(promp | |||
52 | bind generic UP !git swapProtocol | 52 | bind generic UP !git swapProtocol |
53 | 53 | ||
54 | # toggle case sensitive for search | 54 | # toggle case sensitive for search |
55 | bind generic w :toggle ignore-case | 55 | bind generic w :toggle ignore-case |
56 | 56 | ||
57 | # see reflog, reset refernece | 57 | # see reflog, reset refernece |
58 | bind generic gl ?git checkout HEAD@{"%(prompt Enter HEAD@{} number: )"} | 58 | bind generic gl ?git checkout HEAD@{"%(prompt Enter HEAD@{} number: )"} |
@@ -76,7 +76,7 @@ set main-view = \ | |||
76 | date:relative \ | 76 | date:relative \ |
77 | author:abbreviated \ | 77 | author:abbreviated \ |
78 | id \ | 78 | id \ |
79 | commit-title:graph=v2,refs=true | 79 | commit-title:graph=v2,refs=true |
80 | 80 | ||
81 | # override graph toggling | 81 | # override graph toggling |
82 | bind main G move-last-line | 82 | bind main G move-last-line |
@@ -148,12 +148,12 @@ bind generic pD ?git push '%(prompt Delete from which remote? )' :'%(prompt Whic | |||
148 | 148 | ||
149 | # fetch | 149 | # fetch |
150 | bind main <C-F> ?git fetch %(remote) | 150 | bind main <C-F> ?git fetch %(remote) |
151 | bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote | 151 | bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote |
152 | bind main gF ?git fetch '%(prompt Which remote? )' '%(prompt Which branch? )' | 152 | bind main gF ?git fetch '%(prompt Which remote? )' '%(prompt Which branch? )' |
153 | bind main pu !git pull %(remote) %(branch) | 153 | bind main pu !git pull %(remote) %(branch) |
154 | bind main pf !git pull '%(prompt Pull from witch remote? )' %(branch) | 154 | bind main pf !git pull '%(prompt Pull from witch remote? )' %(branch) |
155 | bind main pU ?git pull --rebase | 155 | bind main pU ?git pull --rebase |
156 | 156 | ||
157 | # reset/rebase/revert | 157 | # reset/rebase/revert |
158 | bind main uu ?git reset %(commit) --soft | 158 | bind main uu ?git reset %(commit) --soft |
159 | bind main uh ?git reset %(commit) --hard | 159 | bind main uh ?git reset %(commit) --hard |
@@ -221,7 +221,7 @@ set blame-view = author:abbreviated date:relative id:yes,color line-number:yes t | |||
221 | #==================== | 221 | #==================== |
222 | # blob view | 222 | # blob view |
223 | #==================== | 223 | #==================== |
224 | bind blob m >tig --follow -- %(file) | 224 | bind blob m >tig --follow -- %(file) |
225 | 225 | ||
226 | #==================== | 226 | #==================== |
227 | # status view | 227 | # status view |
@@ -240,7 +240,7 @@ bind status gn @sh -c "git ls-files -v | grep '^h ' | cut -d' ' -f2 | \ | |||
240 | xargs git update-index --no-assume-unchanged" # resume ignored files | 240 | xargs git update-index --no-assume-unchanged" # resume ignored files |
241 | 241 | ||
242 | # stash | 242 | # stash |
243 | bind status s ?>git stash | 243 | bind status s ?>git stash |
244 | bind status S @git stash push -m "%(prompt Enter stash name: )" | 244 | bind status S @git stash push -m "%(prompt Enter stash name: )" |
245 | bind status gs !git stash --keep-index | 245 | bind status gs !git stash --keep-index |
246 | bind status gS !git stashstaged | 246 | bind status gS !git stashstaged |