git-gh-pages
- Create the GitHub Pages branch
git-gh-pages
Create the GitHub Pages branch (gh-pages) with an initial dummy index.html file.
$ git gh-pages
setting up gh-pages
Removing ...
[gh-pages (root-commit) 94f4b26] Initial commit
1 file changed, 1 insertion(+)
create mode 100644 index.html
Counting objects: 3, done.
Writing objects: 100% (3/3), 232 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
To git@github.com:myuser/myrepository.git
* [new branch] gh-pages -> gh-pages
Branch gh-pages set up to track remote branch gh-pages from origin.
complete
$
Written by Jesús Espino <jespinog@gmail.com>
<https://github.com/tj/git-extras/issues>
<https://github.com/tj/git-extras>