Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Can't revert local file to latest committ

isabellascalzi June 12, 2016

Hi, 

So basically what I want to do is to revert the local copy of my repo to one of the committs in the log, and looking on the internet I found that you use the 'reset master to this committ' or something, but there's no option for me to do that when I right click, there's nothing

SourceTree for Windows, Windows 10

Thanks smile

1 answer

1 vote
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2016

Where are you right clicking? You need to go to a commit in the commit history and right click on the commit to reset the current branch to that commit.

If you are doing that, what options are you seeing? Maybe a screenshot will help.

isabellascalzi June 12, 2016

I am right-clicking on the commit that I want to revert my local copy to, this is what im seeing:

image2016-6-13 10:27:53.png

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 12, 2016

Use the "Rest current branch to this commit" option.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events