aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tigrc12
1 files changed, 8 insertions, 4 deletions
diff --git a/tigrc b/tigrc
index 06e6318..3b37990 100644
--- a/tigrc
+++ b/tigrc
@@ -18,15 +18,17 @@ bind main c @sh -c "git branch --points-at=%(commit) | \
18 head -1 | \ 18 head -1 | \
19 xargs git checkout" 19 xargs git checkout"
20bind main T @git tag "%(prompt Enter tag name: )" %(commit) 20bind main T @git tag "%(prompt Enter tag name: )" %(commit)
21bind main gdt @git tag -d %(tag)
21bind main <Ctrl-r> !?git rebase -i %(commit) 22bind main <Ctrl-r> !?git rebase -i %(commit)
22bind main m ?git merge %(commit) 23bind main m ?git merge %(commit)
23bind main P ?git push 24bind main P ?git push
24bind main b @git checkout -b "%(prompt Enter branch name: )" %(commit) 25bind main b @git checkout -b "%(prompt Enter branch name: )"
25bind main B !sh scripts/bump_version.sh 26bind main B !sh scripts/bump_version.sh
26bind main V @git log -S "%(prompt Enter search word: )" 27bind main V @git log -S "%(prompt Enter search word: )"
27bind main gd !git branch -d "%(prompt Delete branch: )" 28bind main gdb !git branch -d "%(prompt Delete branch: )"
28bind main gD ?git branch -D "%(prompt Delete branch anyway: )" 29bind main gDb ?git branch -D "%(prompt Delete branch anyway: )"
29bind main gR ?git reset %(commit) 30bind main gsr ?git reset %(commit) --soft
31bind main ghr ?git reset %(commit) --hard
30 32
31set main-view = \ 33set main-view = \
32 date:default \ 34 date:default \
@@ -42,6 +44,8 @@ bind status S @git stash save "%(prompt Enter stash name: )"
42bind status p ?git stash pop 44bind status p ?git stash pop
43bind status D ?rm %(file) 45bind status D ?rm %(file)
44bind status a ?git commit --amend 46bind status a ?git commit --amend
47bind status j :/^[MADR?]
48bind status k :?^[MADR?]
45 49
46bind stash D ?git stash drop %(stash) 50bind stash D ?git stash drop %(stash)
47bind stash a ?git stash apply %(stash) 51bind stash a ?git stash apply %(stash)