git-branch
Verified for current stable LTS
Git Branch Commands
Git Branch command syntax with verified terminal examples.
Commands
12 commands for Git Branch
git-branch Operations
Git Branch Command: Create New Branch Current Commit
git branch <branch_name> git-branch Operations
Git Branch Command: Create New Branch From Current Commit
git branch <branch_name> git-branch Operations
Git Branch Command: Create New Branch From Specific Commit
git branch <branch_name> <commit_hash> git-branch Operations
Git Branch Command: Create New Branch Specific Commit
git branch <branch_name> <commit_hash> git-branch Operations
Git Branch Command: Delete Local Branch
git branch -d <branch_name> git-branch Operations
Git Branch Command: Delete Remote Branch
git push <remote_name> -d <remote_branch_name> git-branch Operations
Git Branch Command: List All Branches
git branch -a git-branch Operations
Git Branch Command: List Branches Containing Commit
git branch -a --contains <commit_hash> git-branch Operations
Git Branch Command: List Branches Local And Remote
git branch -a git-branch Operations
Git Branch Command: Rename Branch
git branch -m <old_branch_name> <new_branch_name> git-branch Operations
Git Branch Command: Show Current Branch
git branch --show-current git-branch Operations
Git Branch Command: Show Current Branch Name
git branch --show-current Suggest a Git Branch Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Git Branch workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.