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