C
C
CantaTronic2018-02-14 13:16:03
git
CantaTronic, 2018-02-14 13:16:03

How to get changes from the parent repository without pull requests?

Good afternoon!
I am taking an online course, in which jupyter notebooks with new tasks are periodically posted on github.
I would like to do this: fork the parent repository, start a homework branch in order to work on my solutions in it, while as new tasks appear, they are also merged and solved. At the same time, I don’t want to merge my solutions with the original repository, they don’t represent much value for the project.
The closest thing I found on the problem here ( https://toster.ru/q/297355) and on Habré ( https://habrahabr.ru/post/125999/) uses the pull command, which implies merging its branch with changes in source repository. Reading the documentation didn't help much either.
Is there a way to do exactly what I want (after all, the problem is obviously quite common)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stanislav Makarov, 2018-02-14
@Nipheris

uses the pull command, which means merging its branch with changes into the original repository

Don't confuse when YOU do a pull and when you send a pull request to someone who has access to the parent repository to do the pull (or a similar operation).
Read about remotes in the git. You can add any number of remote repositories to your local one. Then you will be able to spool not only branches from your fork, but also from the parent.
Here is the classic and simplest instruction on how to do this, it is strange that you did not find it on the github itself, because the situation is really standard in general for anyone who forks something: https://help.github.com/articles/configuring-a-rem...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question