Learn how to use GitHub

Source: Internet
Author: User
Tags git client git clone

Reproduced from: http://www.open-open.com/lib/view/open1396580186465.html


Take an open source code submission as an example to teach you to step into the open source world.

1, first login to the https://github.com platform to register a own account, this process will not demonstrate

2, then in the upper left part of the name of an open source project, select Jvalidator, enter search.

3, on the search results page, find the following items as shown in the figure, click the project name.

4, at this time, you have entered the Rinh/jvalidator Project homepage, click the Fork button in the upper right-hand corner, pull this item into your account, you can join the project

5, at this time, the page has been jumped to your account under the Jvalidator project, click on the lower right copy button, the address will be copied down, later useful

6, at this point, you need to install a GIT client tool, of course, a lot of it, we demo it with Http://msysgit.github.io, to this page to download the tool, select the latest version of it, download to your computer, and then install it.

7, then, you create a directory on your disk that is designed to store open source code, such as I created a git folder under my D disk and went into the Git folder

8, click on your right mouse button and there will be a git Bash command option, click Enter. Now what you see is a naming window

9, direct input command git clone then copy the first address to the back, enter, start to download your github on the jvalidator source to your computer

10, at this point, you can go to develop the code inside, add new features, modify the obvious bugs ... This is where you're participating in open source development.

11, after 10, save good file, back to our git Bash command interface, enter command

CD Jvalidator//Enter into this folder

git Add. Add changed places to version Manager

Git commit-m "Some changes"//submitted to the local version control library with quotes that describe your submission

Git push-u origin master//Submit your local warehouse to your GitHub account, which requires you to enter your GitHub account number and password.

12, at this time you have completed the task in your book, entered into your GitHub, select to this jvalidator project name, click Enter, there is a pull request on the right, click

13, go to the page of the jump click the new Pull Request button on the right

14, at this point, you will be able to see the side of your changes, check, no problem, click the View Pull Request button

15, at this time, you can enter your submission in the page of the description of the information, enter the end, click the Submit button comment

16, to this end, your task is completed, wait until the open source project management staff review, through, he will change your changes to the corresponding development branch.


From: http://www.cnblogs.com/wenber/p/3630921.html

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.