M
M
magary42015-12-09 17:40:40
PHP
magary4, 2015-12-09 17:40:40

What should I do if I see a bug fix in the form of a pull request?

I use an open source project, find a bug, start googling and find a pull request with a fix. How to merge yourself?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-12-09
@IonDen

A pull request usually contains a link to the author.
1. Go to the page of the author of the pull request
2. Find the one you are interested in in the list of repositories
3. In this repository, switch the branch to the one you need
4. Profit! Download Zip.

A
aol-nnov, 2015-12-09
@aol-nnov

A pull request usually contains a link to the author.
1. Go to the page of the pull request author
2. Find the one you are interested in in the list of repositories
3. In your local repo git remote add fix-origin <uri of the repository with the fix>
4. git fetch fix-origin
5. git merge fix -origin/branch_with_fix
6. ...
7. PROFIT!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question