diff options
| author | typebrook <typebrook@gmail.com> | 2019-03-28 10:11:14 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2019-03-28 10:11:14 +0800 |
| commit | 34b453b9cf0a2ab61d632455dcd21f22831f4f9e (patch) | |
| tree | 3e4da49a4edcff21049bd55250dd358d57c09caa /tigrc | |
| parent | a42c68a0cec2ddf46dec36b15bfd7640344e372c (diff) | |
update
Diffstat (limited to 'tigrc')
| -rw-r--r-- | tigrc | 6 |
1 files changed, 4 insertions, 2 deletions
| @@ -67,7 +67,7 @@ bind main c @sh -c "git branch --points-at=%(commit) | \ | |||
| 67 | 67 | ||
| 68 | # commit | 68 | # commit |
| 69 | bind main a ?>git commit --amend | 69 | bind main a ?>git commit --amend |
| 70 | bind main 3 >git commit --allow-empty -m "%(prompt Enter commit message: )" | 70 | bind main 3 >git commit --allow-empty -m "%(prompt Empty commit, enter message: )" |
| 71 | 71 | ||
| 72 | # merge | 72 | # merge |
| 73 | bind main m ?git merge %(commit) | 73 | bind main m ?git merge %(commit) |
| @@ -117,11 +117,13 @@ bind status k :?^[MADRU?] | |||
| 117 | bind status s ?>git stash | 117 | bind status s ?>git stash |
| 118 | bind status S @git stash push -m "%(prompt Enter stash name: )" | 118 | bind status S @git stash push -m "%(prompt Enter stash name: )" |
| 119 | bind status gs !git stashstaged | 119 | bind status gs !git stashstaged |
| 120 | bind status p !git checkout --patch -- %(file) | 120 | bind status U !git checkout --patch -- %(file) |
| 121 | 121 | ||
| 122 | bind status c @git commit -m "%(prompt Enter commit message: )" | 122 | bind status c @git commit -m "%(prompt Enter commit message: )" |
| 123 | bind status C !git commit | 123 | bind status C !git commit |
| 124 | bind status a ?>git commit --amend | 124 | bind status a ?>git commit --amend |
| 125 | bind status p none | ||
| 126 | bind status pp ?>sh -c "git commit -m 'update' && git push" | ||
| 125 | 127 | ||
| 126 | bind status D ?>rm %(file) | 128 | bind status D ?>rm %(file) |
| 127 | 129 | ||