Homemade Tutorial: Git+tortoisegit+github+eclipsegit

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.