anthodev/jj.fishpublic Fork 0
32168ac
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 jjwcl alias

Cedric ANTHONY committed 2026-03-19T23:05:59+01:00 Browse files
32168ac parent: e0287ef
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+| `jjwcl` | `jj log -r 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | View which commits can be cleaned up |
3031 | `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |
3132
3233 ### Rebase
@@ -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+| `jjwcl` | `jj log -r 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | View which commits can be cleaned up |
30 | `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |31 | `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |
31 32
32 ### Rebase33 ### Rebase
added completions/jjwcl.fish +1 -0
new file mode 100644
@@ -0,0 +1 @@
1+complete --command jjcl --description "View which commits can be cleaned up"
new file mode 100644
@@ -0,0 +1 @@
1+complete --command jjcl --description "View which commits can be cleaned up"
added functions/jjwcl.fish +3 -0
new file mode 100644
@@ -0,0 +1,3 @@
1+function jjcl
2+ jj log -r '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 log -r 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'
3+end
\ No newline at end of file\ No newline at end of file