views:

435

answers:

2

Hello!

I am using TortoiseGit. I want to revert back to a point earlier before i had deleted a few images.

How do i do this, the methods of reverting that i have seen are incorrect....

+3  A: 

Right click your working directory and select Show Log from the TortoiseGit menu.

After that you can right click previous commits and reset the branch to that commit.

Ryan Kearney
A: 
git checkout <yourbranch>

Assuming you didn't do a commit, that will restore what you removed. Otherwise, provide a bit more detail in your question. For a lot of people, the term "revert" in git means something very different than what they learned in other VC systems.

Autocracy
TortoiseGit uses the svn acception of "revert", not the git one.
Mauricio Scheffer