codeschool-projects / CodeBreakerProject

Code Breaker: Challenge Friends with a Game Written using Javascript
https://codeschool-projects.github.io/CodeBreakerProject/
MIT License
26 stars 1.03k forks source link

gh-pages instructions: Need to delete branch in your fork first #20

Closed Jecoms closed 1 year ago

Jecoms commented 7 years ago

In the project complete notes it mentions publishing the finished project to GitHub Pages.

In order for

git subtree push --prefix src origin gh-pages

to work, you'll need to delete the gh-pages branch from the initial clone first.

Steps I took:

git checkout -b "gh-pages" tried to execute subtree push, but was given an error about current tip being behind remote deleted gh-pages branch in browser git subtree push --prefix src origin gh-pages

Success!