aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tigrc12
1 files changed, 6 insertions, 6 deletions
diff --git a/tigrc b/tigrc
index 926f890..0d387cc 100644
--- a/tigrc
+++ b/tigrc
@@ -52,7 +52,7 @@ bind generic Uprf ?git fetch "%(prompt Fetch from which remote? )" pull/"%(promp
52bind generic UP !git swapProtocol 52bind generic UP !git swapProtocol
53 53
54# toggle case sensitive for search 54# toggle case sensitive for search
55bind generic w :toggle ignore-case 55bind generic w :toggle ignore-case
56 56
57# see reflog, reset refernece 57# see reflog, reset refernece
58bind generic gl ?git checkout HEAD@{"%(prompt Enter HEAD@{} number: )"} 58bind 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
82bind main G move-last-line 82bind 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
150bind main <C-F> ?git fetch %(remote) 150bind main <C-F> ?git fetch %(remote)
151bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote 151bind main gf ?git fetch '%(prompt Which remote? )' # Go to Fetch a specific remote
152bind main gF ?git fetch '%(prompt Which remote? )' '%(prompt Which branch? )' 152bind main gF ?git fetch '%(prompt Which remote? )' '%(prompt Which branch? )'
153bind main pu !git pull %(remote) %(branch) 153bind main pu !git pull %(remote) %(branch)
154bind main pf !git pull '%(prompt Pull from witch remote? )' %(branch) 154bind main pf !git pull '%(prompt Pull from witch remote? )' %(branch)
155bind main pU ?git pull --rebase 155bind main pU ?git pull --rebase
156 156
157# reset/rebase/revert 157# reset/rebase/revert
158bind main uu ?git reset %(commit) --soft 158bind main uu ?git reset %(commit) --soft
159bind main uh ?git reset %(commit) --hard 159bind 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#====================
224bind blob m >tig --follow -- %(file) 224bind 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
243bind status s ?>git stash 243bind status s ?>git stash
244bind status S @git stash push -m "%(prompt Enter stash name: )" 244bind status S @git stash push -m "%(prompt Enter stash name: )"
245bind status gs !git stash --keep-index 245bind status gs !git stash --keep-index
246bind status gS !git stashstaged 246bind status gS !git stashstaged