Using Git for code management

Source: Internet
Author: User

About Git

Git is an open source version control software developed by Linux Torvalds to help manage the development of the Linux® kernel.

Let's talk about how to fork open source projects to your own GitHub.

1. Click the fork button in the diagram

2, choose to fork to the place, you can choose an individual, can also be a group of projects, click on the completed.

Here's how I'm configuring git and uploading a local project to GitHub

1. Download git and install

2. Open git Bash

3. Type ssh-keygen-t rsa-c "email.com" (email.com Replace with your mailbox name) and enter down all the way.

4. Use Notepad to open id_rsa.pub copy contents

5, in GitHub setting--ssh keys--add SSH keys paste, OK, complete

6. Type-t [email protected] press ENTER, then enter Yes

For example, display success

7. Set up username and email

User name: type git config--global user.name "xx" (xx for the name you want to set) press ENTER

Password: type git config--global user.email "xx" (XX for your mailbox) press ENTER

8. Set git local project development Library default path

Method: Right-click git shortcut icon (called: Git Bash), find the shortcut-start location (S), put your project address (on your computer) here.

9. At GitHub, under Group organization, click +new Repository to create a new code base, named HelloWorld

10. Complete

Usage Experience:

When you start using Git, you'll want to install it, but it's easy to get started, but you can also update your local project to GitHub in addition to code management at no additional cost. Just started to use, believe it will give me more surprises.

Attach the address link to the HelloWorld code base:

Https://github.com/mod-2/-helloworld

Using Git for code management

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.