diff options
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -28,7 +28,7 @@ bind main b none | |||
| 28 | bind main bn @git branch "%(prompt Enter branch name: )" %(commit) | 28 | bind main bn @git branch "%(prompt Enter branch name: )" %(commit) |
| 29 | bind main bd @git branch -d "%(prompt Delete branch: )" | 29 | bind main bd @git branch -d "%(prompt Delete branch: )" |
| 30 | bind main bD ?git branch -D "%(prompt Delete branch anyway: )" | 30 | bind main bD ?git branch -D "%(prompt Delete branch anyway: )" |
| 31 | bind main bv +git branch -vv | 31 | bind main bv +sh -c "git branch -vv | grep '*'" |
| 32 | bind main c @sh -c "git branch --points-at=%(commit) | \ | 32 | bind 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 | ||
| 38 | bind main m ?git merge %(commit) | 38 | bind main m ?git merge %(commit) |
| 39 | bind main M ?git merge %(commit) --no-ff | 39 | bind main M ?git merge %(branch) --no-ff |
| 40 | bind main p ?git push | 40 | bind main p ?git push |
| 41 | bind main P ?git push %(remote) %(branch):%(branch) | ||
| 41 | 42 | ||
| 42 | bind main u ?git reset %(commit) --soft | 43 | bind main u ?git reset %(commit) --soft |
| 43 | bind main gu ?git reset %(commit) --hard | 44 | bind 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 |
| 78 | bind tree d ?rm %(file) | 79 | bind tree d ?rm %(file) |
| 80 | bind tree 3 !@sh -c "echo -n %(file) | xclip -selection c" | ||
| 79 | bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" | 81 | bind tree 9 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" |
| 80 | 82 | ||
| 81 | # refs view | 83 | # refs view |