Equivalent of git checkout -- using SourceTree

Adam Raszkiewicz June 16, 2017

Is there an equivalend of `git checkout --` in the SourceTree?

An example scenario is that I have edited an index.php file on the working copy and saved changes but not commited and  I have deleted something and I need to revert back those changes previously (somewhere) commited index.php file.

Using git directly I will do something like

git checkout -- index.php

which will revert my changes to the lates commited idex.php file.

What I'm looking for is the way to do that in the SourceTree not searching through the Log/History section where is the lastes commit for index.php file.

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Adam Raszkiewicz June 16, 2017

I think I have found correct answer here

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events