1. First step: Install git for Windows (link: https://gitforwindows.org/) all the way Next,
If you encounter any problems can refer to my other article ~^-^
2. Step Two: Install the small turtle (I used to call Tortoisegit as a small turtle, so the next all the tortoisegit I replaced for the Little Turtle)
Little Turtle Installation Steps (Install the language pack after the Little Turtle is installed):
Step I do not post out, like Git all the way next is OK, I put the installation requirements of the installation package below, you can refer to the ~
Don't forget to download the Chinese Language Pack (see here to install the small turtle and then install the language pack)
After the language pack has been installed, (right-click to find the small turtle---and settings (setting))
Set up a good language
2. Step three: First check if your git is installed successfully and create a new repository on GitHub
(show left to prove installation successful)
Our goal is to upload the local project to GitHub.
So first we'll start by registering a GitHub account (link: https://github.com/)
Next:
(1) Create a new library (this step I did not explain in detail, the patch steps are as follows)
Once created, this is the following:
2. Fourth step: The setting of the Little Turtle
(1) Check if your little turtle is installed properly (right-click->setting-> General Settings)
(2) Set account (username) and e-mail (right-click->setting->git)
(3) Generate SSH Key by small turtle:
After clicking Puttygen:
It takes a little time to generate the secret key, so you can open github-->setting:
Copy the secret key generated in the red box->save private key: (Paste the copied key into the box pointed to in the previous step arrow-->add SSH key)
5. Fifth: The above is all about preparation, and then we begin to upload our local project to GitHub:
1. Create a file (I created a test02 file)
2. Right-click on the file--->git create a repository here----> ok (do not tick)------> then test02 a hidden folder appears inside. Git
3. First open github the library you created (copy https)
Then right-test02 Create a remote ((right-->setting (set)->git-> remote-----------> Add Save))
After adding the Save will bounce box out (get the excerpt information I forgot to take a screenshot), directly OK,
After the box will need you to enter the user name and password, because I entered once before,
No, just enter GitHub's account number and password.
After obtaining a remote success
4. Right-click test02---------> Submit
Submit
After submission, push it up.
The push success will show the following box (^u^) ノ~yo:
Then open your GitHub upload of the library, if the display of your uploaded files, congratulations on your pull, success.
If not successful, you can focus on the account and e-mail where to fill in the correct, as well as URL and push URL fill
is correct. If still not successful, it's okay, there is a degree Niang ~
How to upload a local project to GitHub via Tortoisegit (Little Turtle)