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.