view unchanged files for commit

Is it possible to view the entire file tree for a given commit including any unchanged files without having to check anything out?

Thanks

Alan

1 answer

No. Getting a copy of all the files for a particular commit is pretty much the definition of checking out.

If you want to view all the files for a particular commit while still having access to whatever commit your current branch is on, the only way I've figured to do it is to have two local repos.

Thanks Seth. This seems to be very easy to do with Git Extensions and Smartgit so I'm suprised that it isn't possible.

Thanks anyway

Alan

It really is a shame that the very nice option "Open selected version" is available only on modified files. It would make sense to view all files so that we can open any files from a given commit. Sometimes it is hard to find when a given file was last changed.

You can view all current files, then right-click the one in question and select "Log selected...". This will show you the list of commits that modified that file.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

716 views 3 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you