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:
Marty Oehme 2025-02-22 11:07:46 +01:00
parent dc7bf66052
commit 5a9be5479d
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -41,6 +41,8 @@ alias jsi="jj squash --interactive"
alias ju="jj undo"
# allows you to split the current change into multiple
alias ji="jj split"
# quickly get rid of a change
alias jab="jj abandon"
# revset info
alias J="jj log -r 'all()'" # mirror default command being log