It happens to me all the time. I accidentally version of a file, I do not want to be a version (that is, the developer / machine specific configuration files).
If I commit this file, I will ruin the paths on all other development machines - they will be unhappy.
If I delete a file from the version, it will be deleted from other development machines - they will be unhappy.
If I decide to never commit the file, I always have a dirty check - I am not happy.
Is there a clean way to βundoβ a file from version control, which will cause no one to be unhappy?
edit: an attempt to clarify a bit: I already sent the file to the repository, and I only want to remove it from the version - I specifically do not want it to be physically deleted from everyone who checked. At first I wanted to be ignored.
Answer. If I could accept the second answer, that would be this . It answers my question regarding git - accepted answer about svn.
git version-control svn versioning
Mo. Aug 26 '08 at 10:20 2008-08-26 10:20
source share