Steps for associating open-source Chinese git with xcode: gitxcode

Source: Internet
Author: User

Steps for associating open-source Chinese git with xcode: gitxcode

1. I have selected many open-source Chinese git for online code hosting.

2. Open Source China Link: http://git.oschina.net

3. Create a new project in git

4. Open the terminal and set the global name and email address.

TanqihongdeiMac :~ Tanqihong $ git config -- global user. name "Fantasy promise"

TanqihongdeiMac :~ Tanqihong $ git config -- global user. email "917034405@qq.com

5. Create a folder in one location and enter the folder on the terminal

Cd/Users/tanqihong/Desktop/GitTest

6. Find the Project address and copy it.

7. Terminal clone online project

Git clone https://git.oschina.net/tqh/test.git

After the operation is successful, you will see it in the terminal file and in the folder.

8. Use xcode to create a new project and place it in the drop-down project, as shown in figure

9. Click the GIT tool that comes with Xcode.

10. Click commit to display the following page:

11. Click the blue button and then click push in source control.

12. After you click "push", a box is displayed, that is, enter your open source China account password.

13. Wait for a while and then refresh the web page of the online project to see if the project was uploaded to the server.

 

Related Article

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.