Minor Update
This commit is contained in:
parent
f46167aed9
commit
9f4b8c838f
@ -165,9 +165,9 @@ git push origin TOPIC-BRANCH
|
|||||||
~~~
|
~~~
|
||||||
|
|
||||||
### Creating Pull request
|
### Creating Pull request
|
||||||
You pushed a commit to a topic branch in your fork, and would like someone to review and merge.
|
You pushed a commit to a topic branch in your fork, and now you would like it to be merge in the swiftonfile project.
|
||||||
|
|
||||||
Navigate to your repository with the changes you want someone else to pull and press the Pull Request button.
|
Navigate to your forked repo, locate the change your would like to be merged to swiftonfile and click on the Pull Request button.
|
||||||
|
|
||||||
Branch selection ==> Switch to your branch
|
Branch selection ==> Switch to your branch
|
||||||
|
|
||||||
@ -191,17 +191,17 @@ If 'all goes well' your change will be merged to project swiftonfile. What 'all
|
|||||||
### Download and Verify someone's pull request
|
### Download and Verify someone's pull request
|
||||||
You can fetch all the pull requests using:
|
You can fetch all the pull requests using:
|
||||||
~~~
|
~~~
|
||||||
git fetch origin
|
git fetch upstream
|
||||||
# From github.com:swiftonfile/swiftonfile
|
# From github.com:swiftonfile/swiftonfile
|
||||||
# * [new ref] refs/pull/1000/head -> refs/pull/origin/1000
|
# * [new ref] refs/pull/1000/head -> refs/pull/upstream/1000
|
||||||
# * [new ref] refs/pull/1002/head -> refs/pull/origin/1002
|
# * [new ref] refs/pull/1002/head -> refs/pull/upstream/1002
|
||||||
# * [new ref] refs/pull/1004/head -> refs/pull/origin/1004
|
# * [new ref] refs/pull/1004/head -> refs/pull/upstream/1004
|
||||||
# * [new ref] refs/pull/1009/head -> refs/pull/origin/1009
|
# * [new ref] refs/pull/1009/head -> refs/pull/upstream/1009
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
You should now be able to check out a pull request in your local repository as follows:
|
You should now be able to check out a pull request in your local repository as follows:
|
||||||
~~~
|
~~~
|
||||||
git checkout -b 999 pull/origin/999
|
git checkout -b 999 pull/upstream/999
|
||||||
# Switched to a new branch '999'
|
# Switched to a new branch '999'
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user