aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2019-03-05 12:00:24 +0800
committertypebrook <typebrook@gmail.com>2019-03-05 12:00:24 +0800
commitc471b5238cc181143805b25dcb133da2a95acaac (patch)
tree12d150c65bfb333eab68487633e406fe4aab6e0d
parent1e70a5998c2362c3880bdc8552f4ef711792d9a8 (diff)
update
-rw-r--r--tigrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/tigrc b/tigrc
index 08e666b..7e3081e 100644
--- a/tigrc
+++ b/tigrc
@@ -12,7 +12,11 @@ bind generic w :toggle ignore-case
12 12
13bind main gG :toggle commit-title-graph 13bind main gG :toggle commit-title-graph
14bind main G move-last-line 14bind main G move-last-line
15bind main c @git checkout %(commit) 15bind 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"
16bind main T @git tag "%(prompt Enter tag name: )" %(commit) 20bind main T @git tag "%(prompt Enter tag name: )" %(commit)
17bind main <Ctrl-r> !?git rebase -i %(commit) 21bind main <Ctrl-r> !?git rebase -i %(commit)
18bind main M ?git merge %(commit) 22bind main M ?git merge %(commit)