HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

git gh-pages — Create a new branch inside the current repository called `gh-pages`. Part of `git-extras`. More info

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecreatecommandbranchnewcligit gh-pagesinside

Problem

How to use the git gh-pages command: Create a new branch inside the current repository called gh-pages. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-gh-pages>.

Solution

git gh-pages — Create a new branch inside the current repository called gh-pages. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-gh-pages>.

Create the GitHub pages branch inside the repository in the current directory:
git gh-pages

Code Snippets

Create the GitHub pages branch inside the repository in the current directory

git gh-pages

Context

tldr-pages: common/git gh-pages

Revisions (0)

No revisions yet.