Git Reverting the Repository to Previous State
Posted
by azamsharp
on Stack Overflow
See other posts from Stack Overflow
or by azamsharp
Published on 2010-05-19T21:46:39Z
Indexed on
2010/05/19
21:50 UTC
Read the original article
Hit count: 231
I have a .gitignore file in my project directory and I placed the following entry in the file to not to commit the files in the following folder:
EStudyMongoDb.Integration.Test\
For some reason Git pushed the files to repository anyway!
Anyway! now I want to remove those files that have been pushed to the repository but I don't want to loose my local changes to the files inside the folder. How can I do that?
© Stack Overflow or respective owner