iOS svn common command considerations, Xcode SVN

Source: Internet
Author: User

SVN commands commonly used in the development of IOS projects

1. Meaning of the status of the file:

a:add, new file

A +: Modify the picture resource name

c:conflict, Conflictd:delete, deletingm:modify, Local has been modifiedG:modify and merged, local file modification and merging with the serveru:update, updating from the serverr:replace, file is replacedi:ignored, ignoring

?: not recognized, requires manual add

2.SVN Shorthand

SVN checkout Shorthand SVN Co

SVN update shorthand SVN up (note that after you commit the code file, the version number remains in the previous version, so you will need svn up after submission, and then SVN info to see the latest information)

SVN state Shorthand SVN st (view the status of the file, whether it is modified, deleted, etc, very important commands)

SVN commit-m "description" Shorthand svn ci-m ' description ' (Commit code file)

SVN info View information, including the current version of the last modified person


3.SVN the steps you must make to commit your code

Common steps for SVN commands:

1). CD working directory (can drag files or folders to the terminal, or LS, CD Linux command)

2). SVN info (View information)

3). SVN Up (update code to the latest version)


4). SVN St (view the status of which files have changed)

! exclamation Mark SVN Delete controllers/loginviewcontroller.m

? question mark (not recognized, add a bit) SVN add controllers/login/loginviewcontroller.m

5). SVN ci-m "Update Code"


Note: 1. If you encounter a tree conflict or lock when you Update (terminal or Xcode), you need to use the

SVN cleanup to unlock

2. If there is a change in the working directory, be sure to update the projectsettings file, otherwise there will be some files can not be found, resulting in a compilation error, because the directory you created is not committed to the server

Recommendation: SVN terminal commands and Xcode are used in conjunction with SVN, more efficient! Encountering conflicts it is best to use Xcode to solve it line by row!





iOS svn common command considerations, Xcode SVN

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.