feat: added jjwcl alias
32168ac parent: e0287ef modified
README.md +1 -0 | @@ -27,6 +27,7 @@ fisher install anthodev/jj.fish | ||
| 27 | 27 | | `jja <arg>` | `jj abandon <arg>` | Abandon a change | |
| 28 | 28 | | `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy | |
| 29 | 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 | 31 | | `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits | |
| 31 | 32 | |
| 32 | 33 | ### 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 | ### Rebase | 33 | ### 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 | ||