How to Create Branch Delete and View Branch code example
Example: 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