Can someone of @Developer explain how to update my fork with the base directly on github?
-
Syncing fork with base on github
-
@kenci
See http://www.hpique.com/2013/09/updating-a-fork-directly-from-github/
or here
http://stackoverflow.com/questions/22318145/update-github-fork-from-web-only-in-other-words-without-gitYou should have googled it first.
-
There are several ways of doing this. My preference is the following: http://stackoverflow.com/questions/7244321/how-to-update-a-github-forked-repository
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig : That is how you do it with local repositories.
Kenci wanted to know how it worked from github directly, so in the github gui.I assume that’s the difference between devs and non-devs. A dev would mostly use a local repo
-
And there are mixed options as well.
Fork a repo in the Gui, clone your own fork to a local repo. Do the developments, push to your own repo. make a pull request to the master. -
@Harry-van-der-Wolf said:
That is how you do it with local repositories.
OK. Syncing via a local repo is preferred imho, as the pull requests will create extra commits and will make the commit history difficult to read.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Thanks! I’m now using GitHub Desktop and it works fine.