anthodev/jj.fishpublic Fork 0
develop
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 32168ac · on develop · Cedric ANTHONY · Mar 19, 2026
README.md · 61 lines · 2.1 KBmarkdown
Blame HistoryOpen raw

jj.fish

Jujutsu (jj) aliases plugin for Fish shell.

Installation

Install with Fisher:

fisher install anthodev/jj.fish

Aliases

Changes

Alias Command Description
jjn [arg] jj new [arg] Create new change
jjnd jj new develop Create new change on develop
jjnm jj new main Create new change on main
jje <arg> jj edit <arg> Edit a change
jjs jj status Show status
jjf <arg> jj log | grep <arg> Search in log
jjdm <arg> jj describe -m <arg> Describe change with message
jjr jj resolve Resolve conflicts
jja <arg> jj abandon <arg> Abandon a change
jjh jj edit 'heads(@::)' Edit head of working copy
jju jj undo Undo last operation
jjwcl jj log -r 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())' View which commits can be cleaned up
jjcl jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())' Clean up abandoned branches and commits

Rebase

Alias Command Description
jjrd jj rebase -d develop Rebase onto develop
jjrb <arg> jj rebase -s <arg> Rebase from source
jjrbd <arg> jj rebase -s <arg> -d develop Rebase from source onto develop

Git

Alias Command Description
jjgf jj git fetch Git fetch
jjgp jj git push Git push

Bookmarks

Alias Command Description
jjba jj bookmark advance Advance bookmark
jjbc <arg> jj bookmark create <arg> Create a bookmark
jjbt <arg> jj bookmark track <arg> Track a bookmark
jjbu <arg> jj bookmark untrack <arg> Untrack a bookmark
jjbf <arg> jj bookmark forget <arg> Forget a bookmark
jjbl jj bookmark list List bookmarks

Completions

All aliases have tab completions with descriptions. Commands with revision or bookmark arguments provide dynamic completions.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# jj.fish

Jujutsu (jj) aliases plugin for Fish shell.

## Installation

Install with [Fisher](https://github.com/jorgebucaran/fisher):

```fish
fisher install anthodev/jj.fish
```

## Aliases

### Changes

| Alias | Command | Description |
|-------|---------|-------------|
| `jjn [arg]` | `jj new [arg]` | Create new change |
| `jjnd` | `jj new develop` | Create new change on develop |
| `jjnm` | `jj new main` | Create new change on main |
| `jje <arg>` | `jj edit <arg>` | Edit a change |
| `jjs` | `jj status` | Show status |
| `jjf <arg>` | `jj log \| grep <arg>` | Search in log |
| `jjdm <arg>` | `jj describe -m <arg>` | Describe change with message |
| `jjr` | `jj resolve` | Resolve conflicts |
| `jja <arg>` | `jj abandon <arg>` | Abandon a change |
| `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy |
| `jju` | `jj undo` | Undo last operation |
| `jjwcl` | `jj log -r 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | View which commits can be cleaned up |
| `jjcl` | `jj abandon 'mutable() ~ ancestors(develop@origin) ~ ancestors(remote_bookmarks())'` | Clean up abandoned branches and commits |

### Rebase

| Alias | Command | Description |
|-------|---------|-------------|
| `jjrd` | `jj rebase -d develop` | Rebase onto develop |
| `jjrb <arg>` | `jj rebase -s <arg>` | Rebase from source |
| `jjrbd <arg>` | `jj rebase -s <arg> -d develop` | Rebase from source onto develop |

### Git

| Alias | Command | Description |
|-------|---------|-------------|
| `jjgf` | `jj git fetch` | Git fetch |
| `jjgp` | `jj git push` | Git push |

### Bookmarks

| Alias | Command | Description |
|-------|---------|-------------|
| `jjba` | `jj bookmark advance` | Advance bookmark |
| `jjbc <arg>` | `jj bookmark create <arg>` | Create a bookmark |
| `jjbt <arg>` | `jj bookmark track <arg>` | Track a bookmark |
| `jjbu <arg>` | `jj bookmark untrack <arg>` | Untrack a bookmark |
| `jjbf <arg>` | `jj bookmark forget <arg>` | Forget a bookmark |
| `jjbl` | `jj bookmark list` | List bookmarks |

## Completions

All aliases have tab completions with descriptions. Commands with revision or bookmark arguments provide dynamic completions.