GIT: List / Delete branches

14
November, 2022

List local branches:

git branch

 

List remote branches:

git branch -r

 

Delete local branch:

git branch -d <branch-name>

 

Delete remote branch:

git push origin --delete <branch-name>