Reputation: 11125
My project is here [the link is not for marketing thing as many might think], I am entirely new to Git and Github and I Use Git Extensions with Visual Studio 2008. I committed the file, directory Plug.Sln and Samples into Github, now
How the heck do I remove it from them & leave no trail that file existed in my repository?[on github, but make them remain in local repository]
I want to untrack these checked in Files in Visual Studio[I mean like, how do I get it to state it was before checking in these]
How do I revert to a last committed version?
Upvotes: 1
Views: 586
Reputation: 46544
Github has a help section for this situation. You can view it here. That will remove them if they never existed.
If you want to keep them around, make a copy of the file before you follow the github guide. Once you have removed them from your repository, add them back to your working directory, and add than add them to your .gitignore file to keep git from tracking them.
Upvotes: 3
Reputation: 1188
It sounds like you want to remove the file from version control. Check out How to stop tracking and ignore changes to a file in Git? for a solution.
Upvotes: 1