Commit 1740fa99 authored by Dan Abramov's avatar Dan Abramov
Browse files

Fixup GH Pages deploy instructions

These work regardless of whether you already have a gh-pages branch.
parent f97b1bb0
No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
......@@ -32,11 +32,12 @@ webpack(config).run(function(err, stats) {
console.log('You can now deploy it to ' + homepagePath + '.');
console.log('For example, if you use GitHub Pages:');
console.log();
console.log(' git commit -am "Save local changes"');
console.log(' git checkout -B gh-pages');
console.log(' git add -f build');
console.log(' git commit -am "Rebuild website"');
console.log(' git push origin :gh-pages');
console.log(' git subtree push --prefix build origin gh-pages');
console.log(' git filter-branch -f --prune-empty --subdirectory-filter build');
console.log(' git push -f origin gh-pages');
console.log(' git checkout -');
console.log();
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment