Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN remove files from the to-be-committed list

Tags:

I had set up ignore rules on my bin / object folders for my project. I then tried to do an add on all the other files with svn add * . It seemed as if the ignore only applies to the svn status command so all my bin and object folder contents showed up. Now I have not done a commit on the list, but when I do an svn status I see all those nasty files ready to go when I send that command. Is there a way to remove them from that list or clear that list completely? Also, what is that list called? Thanks in advance!

like image 938
SenseiHitokiri Avatar asked Apr 28 '11 22:04

SenseiHitokiri


People also ask

How remove file from svn commit?

To remove a file from a Subversion repository, change to the directory with its working copy and run the following command: svn delete file… Similarly, to remove a directory and all files that are in it, type: svn delete directory…

What is svn exclamation mark?

The Subversion manual states: '!' Item is missing (e.g. you moved or deleted it without using svn). This also indicates that a directory is incomplete (a checkout or update was interrupted). But as so often with Subversion, there is no indication on how to fix the problem.


1 Answers

svn revert bin

Would remove the bin directory from being added at the next commit.

Or if you would like to recursively revert (sometimes useful)

svn revert -R bin
like image 177
Martin Avatar answered Oct 05 '22 20:10

Martin