There are a lot of git tutorials on the web that don't have an easy-to-read. Say I used git is someone else to help me configure, and later with their own computer configuration, research, or quite smooth.
Lecturing
First, pre-configuration must:
1. Baidu "git" and then download the installation (distinguish between 32bit, 64bit), fool-type installation, always point to "next" (Of course, you can choose the git installation path);
2. next Tortoisegit, also known as the small turtle , installed ibid .
3. GitHub Registration Number (user name, the last of its own address is https://github.com/+ username, such as the address is https://github.com/ Prickerhub, of course, this is my trumpet--), URL:https://github.com/;
Second, the configuration
1. Configure the Small turtle +git, find the setting of the Little Turtle, by configuration
2. after configuration, right-click under any folder, where Git bash is equivalent to Windows Cmd,git GUI is a simple Git visualization interface (not much):
Click Git Create repository here, creating a local repository, such as I create a local repository under H:\learnGit
3. set up a remote repository on GitHub and add native SSH
It's done. Copy SSH
Turn on the small turtle , the mouse in the red area to move back and forth, the generated SSH key to copy down,
Add SSH key to GitHub (SSH key is the equivalent of a unique password to identify your machine, this key allows you to submit native code to GitHub remote repository)
4. Local code submitted to GitHub
Just build a txt, then right-click Commit to Local
Then push to GitHub.
Putty It 's a file that was created by a small turtle in front of the PPK suffix.
You can also go from GitHub pull code to local.
The following is the Eclipsegit, right-click Project:
To create a local warehouse:
Commit and push
This is the way to submit your code through eclipse to GitHub.
You can also pull code from GitHub to local:
Open source China This editor is really rotten, the picture is not pasted. Everyone can go to my github under the Learngit.docx documentation to see. Address: Https://github.com/PrickerHub/learngit
DIY Tutorial: Git+tortoisegit+github+eclipsegit