Last active
August 20, 2016 21:04
-
-
Save mjvo/ac540de5038159298705afda28c82c94 to your computer and use it in GitHub Desktop.
Git instructions for forking own repo using reveal-jekyll-slideserver as example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/mjvo/reveal-jekyll-slideserver NEW_REPO | |
cd NEW_REPO | |
[create NEW_REPO on github.com] | |
git remote set-url origin https://github.com/mjvo/NEW_REPO.git | |
git push origin gh-pages | |
git remote add upstream https://github.com/mjvo/reveal-jekyll-slideserver.git | |
git remote -v | |
> output | |
origin https://github.com/mjvo/NEW_REPO.git (fetch) | |
origin https://github.com/mjvo/NEW_REPO.git (push) | |
upstream https://github.com/mjvo/reveal-jekyll-slideserver.git (fetch) | |
upstream https://github.com/mjvo/reveal-jekyll-slideserver.git (push) | |
> END output | |
// to update from upstream | |
git fetch upstream | |
git merge upstream/gh-pages | |
[Optional: Launch Github for OS X --> File Add Local Repository] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment