aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-13 17:07:23 +0800
committertypebrook <typebrook@gmail.com>2019-03-13 17:07:23 +0800
commit06616fd7d4c71f206d38acd3a15278e6b7f7dd84 (patch)
tree4e4808144045225261bbd146f1999fa2297b0a8c /tigrc
parent9059358c6a5c90898441699e4026f54bdd4671fb (diff)
update
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc21
1 files changed, 13 insertions, 8 deletions
diff --git a/tigrc b/tigrc
index 5356efc..7991ffe 100644
--- a/tigrc
+++ b/tigrc
@@ -29,13 +29,15 @@ bind main <Ctrl-r> !?git rebase -i %(commit)
29bind main m ?git merge %(commit) 29bind main m ?git merge %(commit)
30bind main M ?git merge %(commit) --no-ff 30bind main M ?git merge %(commit) --no-ff
31bind main P ?git push 31bind main P ?git push
32bind main b @git checkout -b "%(prompt Enter branch name: )"
33bind main B !sh scripts/bump_version.sh 32bind main B !sh scripts/bump_version.sh
34bind main V @git log -S "%(prompt Enter search word: )" 33bind main V @git log -S "%(prompt Enter search word: )"
35bind main gdb !git branch -d "%(prompt Delete branch: )" 34bind main b none
36bind main gDb ?git branch -D "%(prompt Delete branch anyway: )" 35bind main bn @git branch "%(prompt Enter branch name: )" %(commit)
37bind main gsr ?git reset %(commit) --soft 36bind main bd @git branch -d "%(prompt Delete branch: )"
38bind main ghr ?git reset %(commit) --hard 37bind main bD ?git branch -D "%(prompt Delete branch anyway: )"
38bind main bv +git branch -vv
39bind main u ?git reset %(commit) --soft
40bind main gu ?git reset %(commit) --hard
39 41
40set main-view = \ 42set main-view = \
41 date:default \ 43 date:default \
@@ -60,11 +62,14 @@ bind status k :?^[MADRU?]
60bind stash D ?git stash drop %(stash) 62bind stash D ?git stash drop %(stash)
61bind stash a ?git stash apply %(stash) 63bind stash a ?git stash apply %(stash)
62 64
65# tree view
66bind tree d ?rm %(file)
67
63# refs view 68# refs view
64bind refs C none 69bind refs C none
65bind refs c ?git checkout %(branch) 70bind refs c @git checkout %(branch)
66bind refs d @git branch -d %(branch) 71bind refs bd ?git branch -d %(branch)
67bind refs b @git branch %(branch) %(commit) 72bind refs bD ?git branch -D %(branch)
68 73
69# color 74# color
70color diff-header black yellow 75color diff-header black yellow