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

This widget could not be displayed.

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 May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

862 views 2 3
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