Using svn remove - preserve file on disk instead of having it deleted?
Posted
by user246114
on Stack Overflow
See other posts from Stack Overflow
or by user246114
Published on 2010-04-30T21:34:14Z
Indexed on
2010/04/30
21:37 UTC
Read the original article
Hit count: 190
svn
Hi,
I am creating an eclipse project, which generates a lot of files I don't want to keep under version control. For example, it creates a project folder like:
project/
bin/
horse.class
cow.class
src/
horse.java
cow.java
so what I do is add the project folder to svn, like:
svn add project
this puts everything under control, even the bin and .class files. All of those files will have the little 'a' next to them.
How can I simply remove the 'add' status from those files? If I try:
svn remove bin/horse.class
I have to use the --force option and it deletes the file from disk. Is there a way to simply remove it from source but not delete the file from disk?
Thanks
© Stack Overflow or respective owner