diff options
| -rw-r--r-- | tigrc | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -72,7 +72,10 @@ bind main <C-J> :move-next-merge | |||
| 72 | bind main <C-K> :move-prev-merge | 72 | bind main <C-K> :move-prev-merge |
| 73 | bind main gh :goto HEAD | 73 | bind main gh :goto HEAD |
| 74 | bind main ; :goto %(commit)^2 # go to second parent | 74 | bind main ; :goto %(commit)^2 # go to second parent |
| 75 | bind main 1 :goto $(git rev-list --all --children | grep "^%(commit)" | awk '{print $2}') | 75 | bind main 1 +sh -c "git rev-list --all --children | \ |
| 76 | grep '^%(commit)' | \ | ||
| 77 | awk '{print $2}') | \ | ||
| 78 | xsel -ib && echo first children" | ||
| 76 | 79 | ||
| 77 | # branch | 80 | # branch |
| 78 | bind main b none | 81 | bind main b none |
| @@ -134,8 +137,8 @@ bind main ! ?git revert %(commit) | |||
| 134 | # tag | 137 | # tag |
| 135 | bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) | 138 | bind main Tn @git tag "%(prompt Enter tag name: )" %(commit) |
| 136 | bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a | 139 | bind main TN !git tag "%(prompt Enter tag name: )" %(commit) -a |
| 137 | bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Enter tag name: )" %(commit)' | 140 | bind main Tm @sh -c 'git tag -d %(tag) && git tag "%(prompt Move which tag to here? )" %(commit)' |
| 138 | bind main TM @sh -c 'git cat-file -p %(tag) | sed -n \'6,$p\' | git tag -a -F - "%(prompt Enter tag name: )" && git tag -d %(tag)' | 141 | bind main TM @sh -c 'git cat-file -p %(tag) | sed -n \'6,$p\' | git tag -a -F - "%(prompt Rename tag into: )" && git tag -d %(tag)' |
| 139 | bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" | 142 | bind main Tc !git tag %(tag) %(tag)^{} -f -m "%(prompt Enter new content: )" |
| 140 | bind main Ts >tig show %(tag) | 143 | bind main Ts >tig show %(tag) |
| 141 | bind main Td @git tag -d "%(prompt Delete tag: )" | 144 | bind main Td @git tag -d "%(prompt Delete tag: )" |