You are here |
www.epicweb.dev | ||
| | | |
nathanrosenquist.com
|
|
| | | | ||
| | | |
drewdevault.com
|
|
| | | | ||
| | | |
wittchen.io
|
|
| | | | When you fork GitHub repository, you usually want to have your fork up to date with the original repository. You can update your fork in a few easy steps. Just look at the following example of the Git commands: Add the remote, call it upstream: git remote add upstream https://github.com/whoever/whatever.git Fetch all the branches of that remote into remote-tracking branches, such as upstream/master: git fetch upstream Make sure that you're on your master branch: | |
| | | |
mikecoats.com
|
|
| | A common time-saving 'hack' of mine when building 'new-but-related-to-old' projects is to fork an existing code base and use it as the boot-strap for the new project. GitHub, however, does not provide the functionality on their website to fork your own project; you can only fork other people's projects. Here's how to work around that. |