feat: added jj undo alias
051ee38 parent: b3a7435 modified
README.md +1 -0 | @@ -26,6 +26,7 @@ fisher install anthodev/jj.fish | ||
| 26 | 26 | | `jjr` | `jj resolve` | Resolve conflicts | |
| 27 | 27 | | `jja <arg>` | `jj abandon <arg>` | Abandon a change | |
| 28 | 28 | | `jjh` | `jj edit 'heads(@::)'` | Edit head of working copy | |
| 29 | +| `jju` | `jj undo` | Undo last operation | | |
| 29 | 30 | |
| 30 | 31 | ### Rebase |
| 31 | 32 | |
| @@ -26,6 +26,7 @@ fisher install anthodev/jj.fish | |||
| 26 | | `jjr` | `jj resolve` | Resolve conflicts | | 26 | | `jjr` | `jj resolve` | Resolve conflicts | |
| 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 | 30 | ||
| 30 | ### Rebase | 31 | ### Rebase |
| 31 | 32 | ||
added
completions/jju.fish +1 -0 | new file mode 100644 | ||
| @@ -0,0 +1 @@ | ||
| 1 | +complete --command jju --description "Undo last operation" | |
| new file mode 100644 | |||
| @@ -0,0 +1 @@ | |||
| 1 | +complete --command jju --description "Undo last operation" | ||
added
functions/jju.fish +3 -0 | new file mode 100644 | ||
| @@ -0,0 +1,3 @@ | ||
| 1 | +function jju | |
| 2 | + jj undo | |
| 3 | +end | |
| new file mode 100644 | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | +function jju | ||
| 2 | + jj undo | ||
| 3 | +end | ||