Skip to content

Instantly share code, notes, and snippets.

View l2fprod's full-sized avatar
💭
embrace the change ☀️

Frederic Lavigne l2fprod

💭
embrace the change ☀️
View GitHub Profile
@skratchdot
skratchdot / gh-pages.sh
Last active December 1, 2022 16:26
Initialize gh-pages branch
# create gh-pages branch
git checkout --orphan gh-pages
git rm -rf .
touch README.md
git add README.md
git commit -m 'initial gh-pages commit'
git push origin gh-pages
# add gh-pages as submodule
git checkout master