anthodev/jj.fishpublic Fork 0
e0287ef
Commits
Clone
git clone https://git.rickub.com/anthodev/jj.fish.git
git clone ssh://git@rickub.com/anthodev/jj.fish.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

feat: added jjcl alias

Cedric ANTHONY committed 2026-03-18T23:54:23+01:00 Browse files
e0287ef parent: 833e458
modified README.md +1 -0
@@ -27,6 +27,7 @@ fisher install anthodev/jj.fish
2727 | `jja <arg>` | `jj abandon <arg>` | Abandon a change |
2828 | `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy |
2929 | `jju` | `jj undo` | Undo last operation |
30+| `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |
3031
3132 ### Rebase
3233
@@ -27,6 +27,7 @@ fisher install anthodev/jj.fish
27 | `jja <arg>` | `jj abandon <arg>` | Abandon a change |27 | `jja <arg>` | `jj abandon <arg>` | Abandon a change |
28 | `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy |28 | `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy |
29 | `jju` | `jj undo` | Undo last operation |29 | `jju` | `jj undo` | Undo last operation |
30+| `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |
30 31
31 ### Rebase32 ### Rebase
32 33
added completions/jjcl.fish +1 -0
new file mode 100644
@@ -0,0 +1 @@
1+complete --command jjcl --description "Clean up abandoned branches and commits"
new file mode 100644
@@ -0,0 +1 @@
1+complete --command jjcl --description "Clean up abandoned branches and commits"
added functions/jjcl.fish +3 -0
new file mode 100644
@@ -0,0 +1,3 @@
1+function jjcl
2+ jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'
3+end
\ No newline at end of file
new file mode 100644
@@ -0,0 +1,3 @@
1+function jjcl
2+ jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'
3+end
\ No newline at end of file\ No newline at end of file