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

Reset to old commits

shayan ebrahimzadeh December 16, 2020

I want to reset to a previous commit, I select the commit I want to go back and right-click on it and choose Reset to current branch option, I choose mixed and my local branch resets itself to my target commit but still, the remote branch is on the latest commit. 

here is a picture that demonstrates the situation.

1.PNG 

How can I simply go back to whatever commit I want? I could not find useful info, they were either deprecated or incomplete. 

 

Thanks!

 

 

1 answer

0 votes
Soumyadeep Mandal
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.
December 21, 2020

Hi @shayan ebrahimzadeh ,

Welcome to the community!

Please check out this documentation https://confluence.atlassian.com/sourcetreekb/reset-branch-to-a-commit-788730897.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events