File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,11 +32,12 @@ webpack(config).run(function(err, stats) {
32
32
console . log ( 'You can now deploy it to ' + homepagePath + '.' ) ;
33
33
console . log ( 'For example, if you use GitHub Pages:' ) ;
34
34
console . log ( ) ;
35
+ console . log ( ' git commit -am "Save local changes"' ) ;
35
36
console . log ( ' git checkout -B gh-pages' ) ;
36
37
console . log ( ' git add -f build' ) ;
37
38
console . log ( ' git commit -am "Rebuild website"' ) ;
38
- console . log ( ' git push origin :gh-pages ' ) ;
39
- console . log ( ' git subtree push --prefix build origin gh-pages' ) ;
39
+ console . log ( ' git filter-branch -f --prune-empty --subdirectory-filter build ' ) ;
40
+ console . log ( ' git push -f origin gh-pages' ) ;
40
41
console . log ( ' git checkout -' ) ;
41
42
console . log ( ) ;
42
43
} else {
You can’t perform that action at this time.
0 commit comments