diff options
author | typebrook <typebrook@gmail.com> | 2019-03-28 11:41:33 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-28 11:41:33 +0800 |
commit | 20f57730547aca6775b2887210139ea51df989aa (patch) | |
tree | a401e879b8c0cc5d1844d72837f32cda584392e0 | |
parent | eb8e30c716cd6d79da984fc8883cdf7075f8b3bb (diff) |
update
-rw-r--r-- | tigrc | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -76,7 +76,7 @@ bind main M ?git merge %(branch) --no-ff | |||
76 | # push | 76 | # push |
77 | bind main p none | 77 | bind main p none |
78 | bind main pp ?git push | 78 | bind main pp ?git push |
79 | bind main pP ?git push %(remote) %(branch):%(branch) | 79 | bind main pP ?git push -u %(remote) %(branch):%(branch) |
80 | 80 | ||
81 | # reset/rebase/revert | 81 | # reset/rebase/revert |
82 | bind main u ?git reset %(commit) --soft | 82 | bind main u ?git reset %(commit) --soft |
@@ -168,8 +168,11 @@ bind tree 0 !@sh -c "echo -n %(blob) | head -c7 | xclip -selection c" | |||
168 | bind refs C none | 168 | bind refs C none |
169 | bind refs c @git checkout %(branch) | 169 | bind refs c @git checkout %(branch) |
170 | 170 | ||
171 | bind refs bd ?git branch -d %(branch) | 171 | bind refs b none |
172 | bind refs bD ?git branch -D %(branch) | 172 | bind refs bdl @git branch -d %(branch) |
173 | bind refs bDl ?git branch -D %(branch) | ||
174 | bind refs bdr ?git push -d %(remote) :%(branch) | ||
175 | bind refs bu ?git branch -rd %(remote)/%(branch) | ||
173 | 176 | ||
174 | bind refs U ?git fetch --all | 177 | bind refs U ?git fetch --all |
175 | bind refs F ?git fetch %(remote) | 178 | bind refs F ?git fetch %(remote) |
@@ -194,6 +197,4 @@ bind diff <Esc>p :?^diff --(git|cc) | |||
194 | 197 | ||
195 | #==================== | 198 | #==================== |
196 | # color | 199 | # color |
197 | #==================== | ||
198 | color diff-header black yellow | ||
199 | color diff-chunk white magenta | 200 | color diff-chunk white magenta |