Articles → GIT → Branches In GIT
Branches In GIT
What Are Branches?
How To Get The List Of All Branches?
git branch –a
Or
git branch
Master Branch
How To Create A New Branch?
How To Switch Between Branches?
git checkout <branch_name>
How To Delete A Branch?
git branch –D <branch_name>
Create And Check-In The Branch In One Command
git checkout –b <branch_name>
How To Rename A Branch?
git branch –m <new branch name>
git branch –m <old branch name> <new branch name>