Answers for "How to Create Branch Delete and View Branch"

0

How to Create Branch Delete and View Branch

// View Current Branch status
git status

// List All Branch
git branch

// Create Branch
git branch <branch>

// Delete Branch (safe delete use -D to force delete)
git branch -d <branch>

// Deleting From remote
git push origin --delete crazy-experiment

Rename the current branch to <branch>.
git branch -a
Posted by: Guest on April-23-2021

Code answers related to "How to Create Branch Delete and View Branch"

Browse Popular Code Answers by Language