Git version control tutorial-use of GitHub

Source: Internet
Author: User

http://blog.csdn.net/pipisorry/article/details/45532883

focus on other people's projects (change or collection)

Get into someone else's project

Change the unwatch in to watch

This way, on your own github, you'll be able to see the items you care about.



participate in open source projects with github-We've been using GitHub as a free remote repository, and if it's a personal open source project, it's perfectly fine to put it on GitHub. In fact, GitHub is an open source collaboration community that allows people to participate in your open source projects and other open source projects through GitHub.

Before the advent of GitHub, open source projects open source easy, but let the broad masses of people involved in more difficult, because to participate, it is necessary to submit code, and to each person who want to submit code to open an account that is unrealistic, therefore, the masses are limited to report a bug, even if you can get rid of the bug, It is not convenient to send the diff file by email.

But on GitHub, with Git's incredibly powerful cloning and branching capabilities, people can really be free to participate in open source projects for the first time.

How do I participate in an open source project?

For example, the highly popular Bootstrap project, which is a very powerful CSS framework, you can access its Project home page https://github.com/twbs/bootstrap, point "Fork" in its own account under the cloning of a bootstrap warehouse , then, clone from your own account:

git clone [email protected]:pipilove/bootstrap.git

Be sure to clone the repository from your account, so you can push the changes. If you clone from the repository address of the author of Bootstrap [email protected]:twbs/bootstrap.git , you will not be able to push the changes because there is no permission.

Bootstrap's official warehouse, the twbs/bootstrap repository you cloned on GitHub my/bootstrap , and your own diagram of the repository you cloned to your local computer:


If you want to fix a bug in bootstrap, or add a new feature, you can start working immediately, and then push to your own warehouse after you're done.

If you want Bootstrap's official library to accept your changes, you can launch a pull request on GitHub. Of course, whether the other party accepts your pull request is not necessarily.

How do I delete a project after I fork it?

Click on select fork Items > click on Settings logo > Click Delete this repository > confirm repository name to delete, select "I understand the Consequences,d Elete This repository "



Use GitHub FAQs

Git commit always appears untracked content

View folder on GitHub after push is also gray and empty (evaluation_of_topic_models in figure)


Solve:

There is a. git directory under the Xx/xxx directory, which will not commit XXX when committed in XX. Delete the Xx/xxx/.git directory and re-git add in the xx/directory. Can

[git use FAQ ]

from:http://blog.csdn.net/pipisorry/article/details/45532883


Git version control tutorial-use of GitHub

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.