Command Line Accumulation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.