Explore >> Select a destination


You are here

kinduff.com
| | blog.eitchnet.ch
1.8 parsecs away

Travel
| |
| | wittchen.io
2.4 parsecs away

Travel
| | 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:
| | zzamboni.org
2.5 parsecs away

Travel
| | I needed to copy a directory between two git repositories while preserving its history. I found some good instructions at http://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/, which got me started, but I figured out a way to avoid having to move all the files into their directory again (lines 5-6 in Greg's instructions) by reversing the filter to remove everything I don't want instead of only including the directory I want. Here are the steps (the idea is the ...
| | christopheradams.io
20.6 parsecs away

Travel
| The uptick of static site generators