Git Tutorial 05TortoiseGit generates PuttyKey to associate with GitHub's SSH

Step 1 Generate PuttyKey

Insert picture description here

Step 2 Now you can export the public key and secret key. I suggest copying the public key into a txt text.

Insert picture description here

Step 3 All 3 of the above pictures need to be saved

Step 4 Save the private key

The generated key interface is as follows. Then click "Save private key" to save the private key in an infrequently used directory to ensure that it will not be deleted. The name is arbitrary, such as "c:\xes.ppk". Then copy all the keys in the above to go to Yuzhong for use.

Step 5 Create a folder (ready to upload to code cloud or other code hosting) click

Insert picture description here
Insert picture description here
Insert picture description here
Insert picture description here

Hidden git file

Step 6. Next set up TortoiseGit

Insert picture description here

Step 7 Set up an account

Enter the setting interface, write your corresponding username (this is the nickname of Code Cloud) and email
Insert picture description here

Step 8 Create a warehouse

I use
gitee to create a warehouse on gitee

Insert picture description hereInsert picture description hereInsert picture description herePrompt interface after successful creation

Step 9 Pull and download locally

Set the remote URL
and then set the remote URL (myself is in Code Cloud), copy https and set it in TortoiseGit

Insert picture description here

Step 10 downloading

Insert picture description here

Step 11 Verify gitee account password

Insert picture description here

Step 12 Download prompt

Insert picture description hereInsert picture description hereSame structure as gitee above
Insert picture description here

Step 13 push

New file operation in current folder

Insert picture description hereInsert picture description hereInsert picture description hereSubmit project address
Insert picture description hereInsert picture description here

Insert picture description hereInsert picture description here
Ready to submit
Insert picture description here

submit
Insert picture description here

Step 14 synchronization

Right-click on the empty space in the current project folder

Insert picture description here
There is a problem with synchronization, record to solve next time

Guess you like

Origin blog.csdn.net/milijiangjun/article/details/108076224
Recommended