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

git fresh-branch — Create an empty local branch. Part of `git-extras`. More information: <https://github.com/tj/git-ext

Submitted by: @import:tldr-pages··
0
Viewed 0 times
git fresh-branchcreatecommandlocalbranchemptyclipart

Problem

How to use the git fresh-branch command: Create an empty local branch. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fresh-branch>.

Solution

git fresh-branch — Create an empty local branch. Part of git-extras. More information: <https://github.com/tj/git-extras/blob/main/Commands.md#git-fresh-branch>.

Create an empty local branch:
git fresh-branch {{branch_name}}

Code Snippets

Create an empty local branch

git fresh-branch {{branch_name}}

Context

tldr-pages: common/git fresh-branch

Revisions (0)

No revisions yet.