diff --git a/docs/git-comparison.md b/docs/git-comparison.md index fb77c3e4e..9c3531682 100644 --- a/docs/git-comparison.md +++ b/docs/git-comparison.md @@ -151,6 +151,31 @@ commit), but that's left out of the table to keep it simple. For example, echo resolved > filename; git add filename; git rebase/merge/cherry-pick --continue + + List branches + jj branches + git branch + + + Create a branch + jj branch <name> -r <revision> + git branch <name> <revision> + + + Move a branch forward + jj branch <name> -r <revision> + git branch -f <name> <revision> + + + Move a branch backward or sideways + jj branch <name> -r <revision> --allow-backwards + git branch -f <name> <revision> + + + Delete a branch + jj branch --delete <name> + git branch --delete <name> + See log of operations performed on the repo jj op log