E
E
Emptyform2017-03-28 14:31:08
git
Emptyform, 2017-03-28 14:31:08

How to update a fork?

I made a fork from someone else's public project on github. I didn’t change the fork itself, but the project went a dozen commits ahead.
Question - is it possible to somehow roll changes to the fork?
It is clear that you can kill the fork and fork the project again, but, purely out of sporting interest, can you somehow roll over the changes to the old fork?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2017-04-05
@isqua

git remote add upstream [email protected]:MostlyAdequate/mostly-adequate-guide-ru.git
git checkout master
git pull upstream master

Read about working with remote repositories , and everything will be clear.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question