Created
December 14, 2017 03:11
-
-
Save Atrion/413317d98dcd0669cb91fb671ba03654 to your computer and use it in GitHub Desktop.
This file contains 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
Pull New Theme | |
git checkout --orphan newtheme | |
git rm -rf . | |
git clean -dfx | |
git remote add upstream https://github.com/johnotander/pixyll.git | |
git fetch upstream | |
git pull upstream master | |
bundler install | |
jekyll serve | |
Merge Changes | |
git checkout master -- _posts | |
git show master:_config.yml > _config.yml.old | |
git checkout upstream/master -- about.md | |
Replace the master branch | |
git checkout newtheme | |
git merge -s ours master | |
git checkout master | |
git merge newtheme | |
git push | |
git branch -d newtheme | |
Updating the theme | |
git pull upstream master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment