IOS- uploads the project to Git.OSChina to create your own private project

First, log on to git.oschina.net

IOS- uploads the project to Git.OSChina to create your own private project
01- login git.oschina.net.png

Two, new projects

IOS- uploads the project to Git.OSChina to create your own private project
02- new project.Png

Three, create a project

IOS- uploads the project to Git.OSChina to create your own private project
03- create project.Png

Four, generate projects

IOS- uploads the project to Git.OSChina to create your own private project
04- generation project.Png

Five, find a place to configure the SSH public key

IOS- uploads the project to Git.OSChina to create your own private project
05- find the place where the SSH public key is configured.Png

Six, find the “.SSH” file on your local computer

IOS- uploads the project to Git.OSChina to create your own private project
06- on the local computer to find the “.SSH” file.Png

1 switch to the user’s current directory

CD ~/.ssh

Remarks:

  1. “~” represents the user’s current directory (/Users/wanghongqing/.ssh)
  2. On behalf of the hidden files under Mac

Seven, delete the “.SSH” folder

IOS- uploads the project to Git.OSChina to create your own private project
07- delete the.SSH folder under the good text.Png

Eight, generate the key pair

IOS- uploads the project to Git.OSChina to create your own private project
08- generation key pair.Png

2 generate RSA key pair

Ssh-keygen -t RSA -C "[email protected]"

Nine, set the password to the private key

IOS- uploads the project to Git.OSChina to create your own private project
09- to set the password for the private key.Png

Ten, generate the private key file and public key file

IOS- uploads the project to Git.OSChina to create your own private project
10- generates private key and public key file.Png
Note: 1 enter your email (enter) 2 terminal will prompt you to generate a key pair, enter 3 enter the password for the private key (password set not too complex, "123456" this kind can) and then ".Ssh" folder will generate two pieces of paper 4 "id_rsa" 5 "id_rsa.pub" 6 "id_ras.pub" onto the Xcode to open the file content 7 copy open

Eleven, copy the public key content

IOS- uploads the project to Git.OSChina to create your own private project
11- copy public key content.Png

Twelve, the public key named, paste public key content

IOS- uploads the project to Git.OSChina to create your own private project
12- to the public key name, paste public key content.Png
Note: 1 to the public key title to take a name ("Unicare") will be "id_rsa.pub" in the contents of the file paste to the public key

Thirteen, authority verification

IOS- uploads the project to Git.OSChina to create your own private project
13- authentication.Png

Fourteen, key generation

IOS- uploads the project to Git.OSChina to create your own private project
14- key generation.Png

Fifteen, view the new generation key

IOS- uploads the project to Git.OSChina to create your own private project
15- view new generation key.Png

Sixteen, test

IOS- uploads the project to Git.OSChina to create your own private project
16- test.Png

To test the SSH details, enter the following command SSH -T [email protected]

1 according to the prompts to select the "yes" 2 enter the set password (123456), "Welcome to [email protected], your OSChina user name (Yizhuang & Daniel Wu)!"

Seventeen, configuration is completed

IOS- uploads the project to Git.OSChina to create your own private project
17- configuration is completed.Png

Eighteen, find new projects

IOS- uploads the project to Git.OSChina to create your own private project
18- to find the new project.Png

Nineteen, copy the project address

IOS- uploads the project to Git.OSChina to create your own private project
19- replication project address.Png

Twenty, download the project to the specified directory

IOS- uploads the project to Git.OSChina to create your own private project
20- download project to the specified directory.Png

Twenty-one, folder file and OSChina project file comparison

IOS- uploads the project to Git.OSChina to create your own private project
21- folder file and OSChina project file comparison.Png

Twenty-two, view git folder file

IOS- uploads the project to Git.OSChina to create your own private project
22- view git folder file.Png

Twenty-three, create a new project file

IOS- uploads the project to Git.OSChina to create your own private project
23- to create a new project file.Png

Twenty-four, the project dragged to SourceTree inside

IOS- uploads the project to Git.OSChina to create your own private project
24- drag the project to SourceTree inside.Png

Twenty-five, to GitHub download.Gitignore”

IOS- uploads the project to Git.OSChina to create your own private project
25- to GitHub download “.Gitignore”.Png

Twenty-six, add “.Gitignore”

IOS- uploads the project to Git.OSChina to create your own private project
26- add “.Gitignore”.Png

Twenty-seven, set the “gitignore” as a hidden file

IOS- uploads the project to Git.OSChina to create your own private project
27- set “gitignore” for hidden files.Png

Twenty-eight, ready to submit code

IOS- uploads the project to Git.OSChina to create your own private project
28- ready to submit code.Png

Twenty-nine, submit code

IOS- uploads the project to Git.OSChina to create your own private project
29- submit code.Png

Thirty, submit success

IOS- uploads the project to Git.OSChina to create your own private project
30- submit successful.Png