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

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

0 votes
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 Join to answer
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

238 views 0 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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot