diff options
author | typebrook <typebrook@gmail.com> | 2019-03-05 12:00:24 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-05 12:00:24 +0800 |
commit | c471b5238cc181143805b25dcb133da2a95acaac (patch) | |
tree | 12d150c65bfb333eab68487633e406fe4aab6e0d | |
parent | 1e70a5998c2362c3880bdc8552f4ef711792d9a8 (diff) |
update
-rw-r--r-- | tigrc | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -12,7 +12,11 @@ bind generic w :toggle ignore-case | |||
12 | 12 | ||
13 | bind main gG :toggle commit-title-graph | 13 | bind main gG :toggle commit-title-graph |
14 | bind main G move-last-line | 14 | bind main G move-last-line |
15 | bind main c @git checkout %(commit) | 15 | bind main c @sh -c "git branch --points-at=%(commit) | \ |
16 | sed -n '/^*/ {n;p}' | \ | ||
17 | (cat -; echo %(commit)) | \ | ||
18 | head -1 | \ | ||
19 | xargs git checkout" | ||
16 | bind main T @git tag "%(prompt Enter tag name: )" %(commit) | 20 | bind main T @git tag "%(prompt Enter tag name: )" %(commit) |
17 | bind main <Ctrl-r> !?git rebase -i %(commit) | 21 | bind main <Ctrl-r> !?git rebase -i %(commit) |
18 | bind main M ?git merge %(commit) | 22 | bind main M ?git merge %(commit) |