[Easiest] How to git github uploading and downloading of code and configuration ssh

github speed problem:

We can choose to use the country code Internet cloud or science. ==

Here Insert Picture Description

Install git

Ok the next step
will be after you install
git bash (will be right there, right there is no section can be found in the Start menu)
Here Insert Picture Description

Generate a public key

The order of execution:

ssh-keygen -o
cat ~/.ssh/id_rsa.pub

Step two: cat ~/.ssh/id_rsa.pubwill generate a public key, copy it to the place of just add ssh key.

ok, this time to configure ssh successful.

Download the code:

code address git clone
ssh: the configuration without a password
https: password required

Here Insert Picture Description

Here Insert Picture Description

Upload Code:

Upload triple:

git add .
git commit -m"xxx"
git push

Here Insert Picture Description

Update the code:

git pull

Here Insert Picture Description

Published 158 original articles · won praise 44 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_43277404/article/details/104740469