I do not like Git, if you want blame me for this

I did not like Git, it is a really personal opinion, but I work a really limited time on github project with some friend of mine and I always find surprise using git, surprises that never happened with other SCS (Hg, Subversion, TFS, etc).

Today I modified a file in my working copy, but after some code I want to revert to the original version, so I issue the revert command with tortoise Git.


Figure 1: Revert screenshot from tortoise Git

Now I press Ok, I got this nice confirmation dialog


Figure 2: Confirmation dialog that confirm me that the file was reverted.

Now I reopen the solution in Visual Studio but the file is still modified and if I right click on the repo folder and choose again Revert from TortoiseGit I got the very same situation in Figure 1, Tortoise Git is telling me again that the file is modified and it can be reverted.

Then I issue a git reset –hard command but it does not work.

I know that I have a really little knowledge of git because I used it 10 times in a year, but I never find another source control that tells me “hey your file is reverted” but in reality nothing happened.

Gian Maria.

Published by

Ricci Gian Maria

.Net programmer, User group and community enthusiast, programmer - aspiring architect - and guitar player :). Visual Studio ALM MVP

2 thoughts on “I do not like Git, if you want blame me for this”

  1. It may have been a bug in TortoiseGit. I recommend sticking to the standard git-gui and gitk. I only use TortoiseGit for very particular tasks, like interactive rebase or conflict resolution.

  2. Thanks for the suggestion, I usually use tortoise Git and command line and never tried gitk. Surely I need to master a little bit more command line tool, that surely is the most stable tool you can use :).

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.