From 5a9be5479d681621eb25fbd84a5c51f6e919c540 Mon Sep 17 00:00:00 2001
From: Marty Oehme <marty.oehme@gmail.com>
Date: Sat, 22 Feb 2025 11:07:46 +0100
Subject: [PATCH] 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.
---
 vcs/jj/config/sh/alias.d/jj.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/vcs/jj/config/sh/alias.d/jj.sh b/vcs/jj/config/sh/alias.d/jj.sh
index 22a6dd5..df4f19f 100644
--- a/vcs/jj/config/sh/alias.d/jj.sh
+++ b/vcs/jj/config/sh/alias.d/jj.sh
@@ -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