Skip to content

Is it possible to checkout a single file in a different commit? #4794

Answered by stefanhaller
AlvesJorge asked this question in Q&A
Discussion options

You must be logged in to vote

Yes: select the commit, press enter to see its files, select the file, and press c to check it out.

If it's in a different branch: select the branch, press enter to see its commits, then go from there.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AlvesJorge
Comment options

@stefanhaller
Comment options

Answer selected by AlvesJorge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants