Github-windows Local Installation

Source: Internet
Author: User

STEP1 preparatory work

Msysgit, for http://msysgit.github.io/.

Eclipse IDE for Java EE Developers (must be this, bring your own egit, or install the Egit plugin yourself), download at Eclipse website, address/HTTP/ www.eclipse.org/downloads/.

GitHub account, the website of GitHub register one, address https://github.com/.

Liaoche's Git tutorial, the address is http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000, speaks very well, I spent about 3 nights to see if it was just for the sake of installation, you can skip it for a while and look back.

STEP2 Msysgit Installation

All the way next, note that you may encounter 360 interception (damn, click Allow all operation of this program or exit 360 before installation).

STEP3 git user name and mailbox configuration

Click the Start menu, open git Bush,

Enter the following command

git config--global user.name "Your name"

git config--global user.email [email protected]

The user name and mailbox are replaced by their own, specifying the user name and email address for all warehouses in this machine.

Step4 Create SSH Key

Because SSH is encrypted between the local git repository and the remote GitHub repository, you also need to create an SSH Key.

Enter the following command

Ssh-keygen-t rsa-c [email protected]

Also replace the mailbox with your own. In path C, user--user name, locate the. SSH folder, open to see two files Id_rsa and id_rsa.pub,

Open id_rsa.pub, copy the contents (this is equivalent to a key, the person holding the key can access your content, the next summary of the use of the key), the following is my

STEP5 associated with a warehouse on GitHub

Sign up for a GitHub account

Once the registration is complete, click on the settings (that is, the gear, set icon) in the upper right corner.

Go to Page Setup

Choose SSH keys, click on the Add SSH key, you can add, the title is filled out, will be copied from the Id_rsa.pub content pasted here. From then on, the Gitgub warehouse will be able to identify your local warehouse. That is, you are only one step away from pushing local code to GitHub, or cloning the code on GitHub locally.

Use of Step6 Egit

First, log in to your GitHub account, click the plus sign, select New Repositrory, and create a fresh repository.

The name is Test2, and the others are all by default.

Click the green button to create a GitHub repository.

Github-windows Local Installation

Related Article

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.