GIT-GH-PAGES(1)

πŸ’– git-gh-pages β€” it's giving GitHub Pages setup πŸ’–

okay bestie, this one's from git-extras, and it's lowkey the cutest little one-trick pony you've ever met πŸ¦‹


✨ NAME ✨

git-gh-pages β€” Create the GitHub Pages branch


🌸 SYNOPSIS 🌸

git-gh-pages

no args, no flags, no notes. she's simple. she's clean. she serves πŸ’…


πŸŽ€ DESCRIPTION πŸŽ€

so here's the vibe: git-gh-pages makes you the GitHub Pages branch β€” that's gh-pages β€” and it comes with an initial dummy index.html file already in it. 🫢

like. that's it. that's the whole tool. does exactly what it says on the tin, no cap.


🌈 EXAMPLES 🌈

watch her work, bestie, she's iconic:

$ 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
$

the whole thing: she sets up gh-pages, she makes that initial root-commit with index.html, she counts 3 objects, she pushes all 3 of them (232 bytes, delta 0, reused 0 β€” queen behavior), she gets you that new gh-pages remote branch, and she hooks you up to track the remote branch gh-pages from origin. then she says complete and dips. periodt. πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Written by JesΓΊs Espino <jespinog@gmail.com> β€” ty king πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something weird? not me being dramatic but please tell someone:

<https://github.com/tj/git-extras/issues>


πŸ¦‹ SEE ALSO πŸ¦‹

<https://github.com/tj/git-extras>


okay that's the whole page, bestie πŸ’– this one came from git-extras, cataloged as GIT-GH-PAGES(1), and dated May 2026 β€” go set up a gh-pages branch and make something slay βœ¨πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from