←back to thread

128 points nvader | 1 comments | | HN request time: 0.194s | source
Show context
rafaelmn ◴[] No.46190591[source]
So how is this different from git worktrees exactly ?
replies(2): >>46190753 #>>46191208 #
rk06 ◴[] No.46190753[source]
there is no difference as jj is only a frontend to git.

author me tions that git cli require multiple steps when there are unstaged changes.

I don't know if git has one liner cli command for it as i myself use gitextn to create worktrees

replies(3): >>46190898 #>>46191762 #>>46201886 #
dubi_steinkek ◴[] No.46190898[source]
> there is no difference as jj is only a frontend to git.

That's not really true in this case, as the worktree feature from jujutsu is not implemented on top of git worktrees.

replies(2): >>46191425 #>>46192334 #
rk06 ◴[] No.46192334[source]
wtf? it can diverge from git?

wasn't git compatibility it's main pro?

replies(5): >>46193172 #>>46194310 #>>46194774 #>>46198872 #>>46201894 #
1. SatvikBeri ◴[] No.46193172[source]
You can still use git worktrees in a colocated repository. jj workspaces are a different, but similar capability that provide some extra features, at the cost of some others.