jj: Add an alias to abandon a commit
I have begun abandoning more commits recently, so this seems a good time to introduce an alias for it. It is not _so_ common as to require a 1 or 2-letter alias so we can go with the mnemonic `jab` for jj abandon.
This commit is contained in:
parent
dc7bf66052
commit
5a9be5479d
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ alias jsi="jj squash --interactive"
|
||||||
alias ju="jj undo"
|
alias ju="jj undo"
|
||||||
# allows you to split the current change into multiple
|
# allows you to split the current change into multiple
|
||||||
alias ji="jj split"
|
alias ji="jj split"
|
||||||
|
# quickly get rid of a change
|
||||||
|
alias jab="jj abandon"
|
||||||
|
|
||||||
# revset info
|
# revset info
|
||||||
alias J="jj log -r 'all()'" # mirror default command being log
|
alias J="jj log -r 'all()'" # mirror default command being log
|
||||||
|
|
Loading…
Reference in a new issue