Skip to content
Discussion options

You must be logged in to vote

There's a "--detach" flag that allows you to check out a specific commit without creating a branch.

To change your branch in, you can use git checkout <branch>

Replies: 5 comments 1 reply

This comment was marked as off-topic.

@Khevinn
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Khevinn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Git and Code Discussions related to version control and coding practices other General topics and discussions that don't fit into other categories, but are related to GitHub Question Ask and answer questions about GitHub features and usage
5 participants