iOS development Xcode in git use (partial)

Source: Internet
Author: User

# #Xcode中git使用

# # # # # #本文在此只介绍当新建工程时, the GIT option is not checked, but git is a workaround for the post-development process.

***
1. Open the terminal
2. Enter the command
> cd/users/Computer Manager status/New project location/new project name
such as: Cd/users/chen-jie/desktop/cjgit use

3. Input command: Git init
> This initializes an empty source, and if you view or enter the LS command in the Finder, you will see that the. Git subdirectory has been created.

4. Enter the command: Git Add.
> All the contents of the current directory are added to the source.

5. Input command: Git commit-m ' Initial commit '
> A list of changes to be performed by a local Git source is then shown.

***

Now the git source is built, but if you go back to Xcode and open the Source Control menu, you'll find that everything is still disabled. This is because when we use the command line tool to create a git source, Xcode is not notified, below Commond+q, and then restart it, in Cjgit using the project, if you open the source Control menu again, you will find all the options have been enabled, Just like the first tick to create a git source.

***
Again, this article is from the original, please click on the details:
[Http://www.cocoachina.com/ios/20140524/8536.html] ()

iOS development Xcode in git use (partial)

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.