Delete local and / or remote branches

PHOTO EMBED

Mon Aug 09 2021 08:17:54 GMT+0000 (Coordinated Universal Time)

Saved by @hisam #git #github #gitflow

git branch -d <local-branch> (soft delete)

git branch -D <local-branch> (hard delete)

git push origin --delete <remote-branch-name>
content_copyCOPY