1. Remove SVN version information from a directory
CD xxx/yy
Find.-Name ". SVN"-exec Rm-RF '{}'\;
CD ../
SVN cleanup
SVN add YY/
SVN: commit failed (details follow ):
SVN: server sent unexpected return value (405 method not allowed) in response to mkcol request '...
Solution:
Remove the version information from the directory, rename the name, and copy it to the desktop,
Then SVN del...
Then SVN commit...
Then SVN up...
Submit the renamed folder to SVN commit...
Then SVN up...
Then the original name of SVN rename is renamed
Then SVN commit...
...
2. Control SVN log output
SVN log-V-l 4 | grep "XXX"
SVN log-V-l 4 | grep "(XXX) | (yyy) | (zzz )"
3. SVN add files whose names contain @ 2x:
A single file is like this: # SVN add img@2x.png@ Add @ after the file name.
Multiple files are as follows:
#For I in * 2x.png
> Do
> SVN add $ I @
> Done