git branch
branch commands
check branch
# You can check the currently working branch with * mark
git branchcreate branch and switch to it
git branch {branch name to create}git checkout -b {branch name to create}git switch -c {branch name to create}move branch
git checkout {branch name to move to}git switch {branch name to move to}merge branch
# Switch to main branch for merge
git switch main
# Merge feat/todo branch into main branch
git merge feat/tododelete branch
branch related errors
Last updated