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 )



Comments

Popular posts from this blog