jj: Add alias to insert change before or after current
Internally `jnb` runs `jj new -B@` so that it simply always insert a change directly before the current working copy. Likewise with `jna` for inserting after current. (Which is still somewhat helpful since by default `jj new` will create a branch in the tree if the new change is not the leaf node)
This commit is contained in:
parent
e792fc53af
commit
0cbd8d548f
1 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,8 @@ if exist lazyjj; then
|
|||
fi
|
||||
|
||||
alias jn="jj new"
|
||||
alias jna="jj new -A@"
|
||||
alias jnb="jj new -B@"
|
||||
alias jds="jj describe"
|
||||
alias jc="jj commit"
|
||||
|
||||
|
|
Loading…
Reference in a new issue