aboutsummaryrefslogtreecommitdiffhomepage
path: root/tigrc
diff options
context:
space:
mode:
Diffstat (limited to 'tigrc')
-rw-r--r--tigrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/tigrc b/tigrc
index 700f81d..3cc12ac 100644
--- a/tigrc
+++ b/tigrc
@@ -28,7 +28,7 @@ bind main b none
28bind main bn @git branch "%(prompt Enter branch name: )" %(commit) 28bind main bn @git branch "%(prompt Enter branch name: )" %(commit)
29bind main bd @git branch -d "%(prompt Delete branch: )" 29bind main bd @git branch -d "%(prompt Delete branch: )"
30bind main bD ?git branch -D "%(prompt Delete branch anyway: )" 30bind main bD ?git branch -D "%(prompt Delete branch anyway: )"
31bind main bv +git branch -vv 31bind main bv +sh -c "git branch -vv | grep '*'"
32bind main c @sh -c "git branch --points-at=%(commit) | \ 32bind main c @sh -c "git branch --points-at=%(commit) | \
33 sed -n '/^*/ {n;p}' | \ 33 sed -n '/^*/ {n;p}' | \
34 (cat -; echo %(commit)) | \ 34 (cat -; echo %(commit)) | \
@@ -36,8 +36,9 @@ bind main c @sh -c "git branch --points-at=%(commit) | \
36 xargs git checkout" 36 xargs git checkout"
37 37
38bind main m ?git merge %(commit) 38bind main m ?git merge %(commit)
39bind main M ?git merge %(commit) --no-ff 39bind main M ?git merge %(branch) --no-ff
40bind main p ?git push 40bind main p ?git push
41bind main P ?git push %(remote) %(branch):%(branch)
41 42
42bind main u ?git reset %(commit) --soft 43bind main u ?git reset %(commit) --soft
43bind main gu ?git reset %(commit) --hard 44bind main gu ?git reset %(commit) --hard
@@ -76,6 +77,7 @@ bind stash a ?git stash apply %(stash)
76 77
77# tree view 78# tree view
78bind tree d ?rm %(file) 79bind tree d ?rm %(file)
80bind tree 3 !@sh -c "echo -n %(file) | xclip -selection c"
79bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" 81bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c"
80 82
81# refs view 83# refs view