Git uses the six--github work together fork+pull Request_git learning

Source: Internet
Author: User

Git uses one of the basic uses of--git
Git uses the second ——. Gitignore file detailed
Git using the three ——. git folder detailed
The installation of the GitHub desktop version of Git using the quad--windows
Git uses the five--github to keep the fork project synchronized with the original project
Git uses the six--github work together Fork+pull Request
Git uses the seven--android studio under the proper use of git

On the Internet you see some great God's project is very dazzling, very bright, you look, found that there are bugs or you participate in open source projects, need to participate in, then you come to the right place, here with you how to work with the great God. Fork

There is this open source project online: fastandroid
Very good, recently to write a demo, we are interested in welcome to join us.

First fork (derivation) to own GitHub:

After fork into their own warehouses:

Since I have fork before, the author modified the content, so my warehouse is not updated, so how to keep the update, please come to my previous blog:

Git uses the five--github to keep the fork project synchronized with the original project

Modify

Below own warehouse has the thing, you may according to own idea development slightly, haha, own play it.

Here's how to use it under Android Studio.

Open Android Studio, on the initial interface, select the third check out project from Version control on the right, then point to GitHub

Then the as will ask you to fill in your GitHub username and password.

Confirmed, as requires you to fill in the Clone Remote warehouse address:

Warehouse address GitHub Right:

The way there is HTTPS or SSH, all is ok, SSH needs to configure the key in advance, how to configure, to configure here:

Git uses one of the basic uses of--git

Click on the right test to verify the correctness of the warehouse and correctly eject the correct dialog box:

Then click Clone, on clone to local slightly, as will prompt you to open, we determine.

Of course, clone to local you can directly a command to do, here is a demonstration of the use of as under.

Here you create a new branch that doesn't affect the manager's project, where the branch is your own local branch, and push is pushed to your own library branch. After modifying the project, commit to the local warehouse, push to your remote warehouse, as under how to operate, come here: Git uses the seven--android studio git for proper use

Well, your remote repository has been updated, and the following initiates request merging. Pull Request

Go back to your GitHub interface and initiate a request:

New request:

Since I did not modify the content, the following comparing changes blank:

In this way, the project manager will see your request, the appropriate words, he will merge slightly, haha.

There's something wrong. Welcome to point out common progress.

Enjoy

Yue share, the happier ^_^

Welcome to Exchange, reprint please indicate the source, thank you.

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.