Skip to content

Branches

List all branches

git branch -a

Create local branch dev

git branch dev

Create remote branch dev

git push -u origin dev

Delete local branch

git branch -d dev

Delete remote branch

git push --delete origin dev