diff options
author | typebrook <typebrook@gmail.com> | 2019-03-11 09:16:52 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-11 09:16:52 +0800 |
commit | bdc35a6ec5fee5b876da70a62b2adb519e0291cf (patch) | |
tree | 13b8a375521b51aac7c11b814a5a245b18cdd52f | |
parent | 14b80a22f2097436a806f9fac169ed712060fc1a (diff) | |
parent | 6d987a562a63d945609251c75f9d5304d553936c (diff) |
WIP on master: 14b80a2 Update
-rw-r--r-- | tigrc | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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" |
20 | bind main T @git tag "%(prompt Enter tag name: )" %(commit) | 20 | bind main T @git tag "%(prompt Enter tag name: )" %(commit) |
21 | bind main gdt @git tag -d %(tag) | ||
21 | bind main <Ctrl-r> !?git rebase -i %(commit) | 22 | bind main <Ctrl-r> !?git rebase -i %(commit) |
22 | bind main m ?git merge %(commit) | 23 | bind main m ?git merge %(commit) |
23 | bind main P ?git push | 24 | bind main P ?git push |
24 | bind main b @git checkout -b "%(prompt Enter branch name: )" %(commit) | 25 | bind main b @git checkout -b "%(prompt Enter branch name: )" |
25 | bind main B !sh scripts/bump_version.sh | 26 | bind main B !sh scripts/bump_version.sh |
26 | bind main V @git log -S "%(prompt Enter search word: )" | 27 | bind main V @git log -S "%(prompt Enter search word: )" |
27 | bind main gd !git branch -d "%(prompt Delete branch: )" | 28 | bind main gdb !git branch -d "%(prompt Delete branch: )" |
28 | bind main gD ?git branch -D "%(prompt Delete branch anyway: )" | 29 | bind main gDb ?git branch -D "%(prompt Delete branch anyway: )" |
29 | bind main gR ?git reset %(commit) | 30 | bind main gsr ?git reset %(commit) --soft |
31 | bind main ghr ?git reset %(commit) --hard | ||
30 | 32 | ||
31 | set main-view = \ | 33 | set main-view = \ |
32 | date:default \ | 34 | date:default \ |
@@ -42,6 +44,8 @@ bind status S @git stash save "%(prompt Enter stash name: )" | |||
42 | bind status p ?git stash pop | 44 | bind status p ?git stash pop |
43 | bind status D ?rm %(file) | 45 | bind status D ?rm %(file) |
44 | bind status a ?git commit --amend | 46 | bind status a ?git commit --amend |
47 | bind status j :/^[MADR?] | ||
48 | bind status k :?^[MADR?] | ||
45 | 49 | ||
46 | bind stash D ?git stash drop %(stash) | 50 | bind stash D ?git stash drop %(stash) |
47 | bind stash a ?git stash apply %(stash) | 51 | bind stash a ?git stash apply %(stash) |