F
F
foonfyrick2021-03-29 09:59:22
GitHub
foonfyrick, 2021-03-29 09:59:22

How to fix the code of someone else's repository?

If I need to fix some kind of bug, and they gave a link to the repository, then I will download it and fix it myself, but how can I transfer it to someone else's repository, or how is it done in general?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
ayazer, 2021-03-29
@foonfyrick

create your fork -> create a new branch in your fork -> fix a bug in the new branch -> create a pull request from your fork branch to the main branch of the original repository. And usually in more or less popular repositories there is a list of requirements / recommendations that you need to follow if you want your code to be merged

S
Sergey Gornostaev, 2021-03-29
@sergey-gornostaev

Google git flow.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question