A
A
Alexey Drobot2016-02-15 21:29:56
git
Alexey Drobot, 2016-02-15 21:29:56

Features of working with GitHub forks?

For example, there is a repository, I am forking from it. I have a copy, I make myself a branch for changes, and I twist something there. The question is how can I pull the changes to my fork from the author's original repository, which is being actively updated.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cat Anton, 2016-02-15
@27cm

How to properly contribute to the Open Source project...

$ git remote add upstream <оригинальный-репозиторий>
$ git checkout <имя-вашей-ветки>
$ git fetch upstream
$ git rebase upstream/master

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question