Skip to content

Commit

Permalink
Update documentation of creating gh-pages branch
Browse files Browse the repository at this point in the history
  • Loading branch information
valentina-s authored Jul 11, 2023
1 parent eed6a24 commit 3e65899
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ For simplicity we suggest to create a separate repo for the webpage (separate fr
git checkout --orphan gh-pages
# preview files to be deleted
git rm -rf --dry-run .
git rm -rf --dry-r
# actually delete the files
git rm -rf .
# actually delete the files (double check you are on the correct branch when doing this step: it is dangerous!!!)
git reset --hard
# get the template
git pull https://github.com/uwescience/DSSG-website-template
# get the template (from template main branch to your gh-pages branch)
git pull https://github.com/uwescience/DSSG-website-template main:gh-pages
# push the local branch to a public branch on github
git push origin gh-pages
Expand Down

0 comments on commit 3e65899

Please sign in to comment.