How to native code first upload to gitee (code cloud) + sourcetree

If the problem SSH public key code appears on the cloud, the solution:

Sshkey to generate the command line:

ssh-keygen -t rsa -C "[email protected]"

In which the back for your own e-mail address;

Follow the prompts to complete the three-carriage return, you can generate ssh key

Meanwhile generated SSH public key stored in the default directory C drive, look at specific tips

View to generate the public key, copy the public key to manually add the keys to the place of

Be determined

Adds the local code to the cloud code:

First, a new warehouse on gitee,

1 write the name of the warehouse,

Two pairs of warehouse property settings, select a private or public

3. Select the language you need

4 Using the readme file to initialize the repository (the key will be used later this file!)

5. After you've created a warehouse, open installed SourceTree, the project Clone, set the remote address of the warehouse, and the address of the local need to store just fine, then downloaded the two Readme file, then you will need to upload local the remote code is copied to the clone down local address, and then upload all the code by SourceTree, to see if the upload was successful warehouse on a remote gitee have been uploaded.

 

Published 40 original articles · won praise 0 · views 10000 +

Guess you like

Origin blog.csdn.net/java9832/article/details/104778544