diff options
author | typebrook <typebrook@gmail.com> | 2019-03-27 13:55:35 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2019-03-27 13:55:35 +0800 |
commit | 51786cb3ec63a62dcd5c9fa4c5ec0a9ed6121e15 (patch) | |
tree | 0b731d24aed0ce7a55fa3651df9bbde06f557d37 /tigrc | |
parent | bbb3d2ad6d50f05917edea571c8bef78bcd6b9fc (diff) |
update
Diffstat (limited to 'tigrc')
-rw-r--r-- | tigrc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -58,6 +58,9 @@ bind main c @sh -c "git branch --points-at=%(commit) | \ | |||
58 | head -1 | \ | 58 | head -1 | \ |
59 | xargs git checkout" | 59 | xargs git checkout" |
60 | 60 | ||
61 | # commit | ||
62 | bind main a ?>git commit --amend | ||
63 | |||
61 | # merge | 64 | # merge |
62 | bind main m ?git merge %(commit) | 65 | bind main m ?git merge %(commit) |
63 | bind main M ?git merge %(branch) --no-ff | 66 | bind main M ?git merge %(branch) --no-ff |
@@ -110,7 +113,7 @@ bind status p !git checkout --patch -- %(file) | |||
110 | 113 | ||
111 | bind status c @git commit -m "%(prompt Enter commit message: )" | 114 | bind status c @git commit -m "%(prompt Enter commit message: )" |
112 | bind status C !git commit | 115 | bind status C !git commit |
113 | bind status a ?git commit --amend | 116 | bind status a ?>git commit --amend |
114 | 117 | ||
115 | bind status D ?>rm %(file) | 118 | bind status D ?>rm %(file) |
116 | 119 | ||