Branch Commands
BRANCH COMMANDS
git branch - to check branch
git branch -M main (to rename branch)
git checkout branch name (to navigate)
git checkout -b new branch name(to create a new branch)
git branch -d branch name(to delete )
BRANCH COMMANDS
git branch - to check branch
git branch -M main (to rename branch)
git checkout branch name (to navigate)
git checkout -b new branch name(to create a new branch)
git branch -d branch name(to delete )
Comments
Post a Comment