LinuxCommandLibrary

git-gh-pages

Create GitHub Pages orphan branch

TLDR

Create gh-pages branch

$ git gh-pages
copy

SYNOPSIS

git gh-pages

DESCRIPTION

git gh-pages creates and sets up a gh-pages branch for GitHub Pages hosting. This git-extras command automates the creation of an orphan branch suitable for hosting static websites, independent of the main project history.
After creation, the gh-pages branch can be populated with HTML, CSS, and JavaScript files. When pushed to GitHub, the repository becomes accessible as a website at username.github.io/repository.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community