how to revert back?

I double clicked on a commit, the head was reset, but the files are still the same, showing today's date as modified date .. i need to get an old version ... i need to get a version from a year ago .. how do i do this?

2 answers

1 accepted

This widget could not be displayed.

ok it seems like although the file dates do not go back to the original date (would be nice), double clicking on the commit does revert the files .. very simple .. you gys seriously need some help documentation for sourcetree ... love it though

This widget could not be displayed.
Timothy Chin Community Champion Sep 04, 2013

Don't know if SouceTree can do it. But if you the commit id (git log <filename>), you can always revert to that version.

i suppose if possible via command line, that is ok, what would the command to do this?

actually i do not want to affect the server at all .. for example, we have 100 modifications per day .. one of the them was good .. a tester might want to grab that version they tagged .. HOW TO GET IT??? is there anyone here would knows how this product works? HOW DO I GET AN OLD VERSION OF ALL THE FILES? .. it seems to be a reasonable thing to want to do with a source control system

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...

879 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