Use git upload items to solve the code number of cloud file upload limit (original)

Cause: restrictions on code file upload personal cloud free version: You can only upload 20 files in 1 hour

Solution: In the code to create a cloud empty warehouse project, using git client download code cloud project, copy the files to be uploaded to the project to be submitted with git!

1. Configure git global variable code :( cloud) user name and mailbox

Click git git-bash.exe enter the command line

Enter ssh directory

cd ~/.ssh

Basic configuration information

$ git config --global user.name "xxx"
$ git config --global user.email [email protected]

Key generation

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

File Naming

id_rsa

Set Password (skip directly enter)

Enter, Enter

Snipaste_2019-09-25_12-05-03

View the generated files, and add the contents of the personal key code to cloud, you can also enter the directory open copy

cat id_rsa.pub


image

2. Enter the code cloud, opening the set, find SSH settings, naming, then paste the key, enter the password

image

image


Snipaste_2019-09-25_12-14-12


image

3. Create a project code in the cloud

New Project

image 

Create a project success

image

4.

Guess you like

Origin www.cnblogs.com/fby698/p/11583943.html