undefinedfix
Sign in

The SVN command submits the contents of a folder and excludes the specified files and folders. How to write the command?

user3632500 edited in Thu, 26 Jan 2023

The SVN command submits the contents of a folder and excludes the specified files and folders. How to write the command? For example, there are more than ten folders such as B and C in a folder, and there is also a file a.lock. How to submit a folder with SVN command, but you should exclude the B folder and a.lock file in it, and ask for guidance. cd a

svn add -N .

svn propset svn:ignore 'a.lock' .

svn propset svn:ignore 'b' .

Can SVN commit - M "XXX" be written like this?

1 Replies
Vrasidas
commented on Thu, 26 Jan 2023

cd asvn propset svn:ignore "b" .

Then execute SVN add. -- force, or submit all the contents in folder B to the cache?