Skip to content

How to move around to changes and commits #6116

Answered by jennings
gltzch asked this question in Q&A
Discussion options

You must be logged in to vote

Use jj edit kyxtyxlx to edit a specific change.

git switch foo will always result in jj creating a new empty change on top of foo. There isn't a way to do the equivalent of jj edit using a git command.

By the way, git will almost always be in a detached HEAD state while using jj. This is normal and not a problem. jj will keep git's index and HEAD up to date as you create and edit revisions.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by gltzch
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants