Note: The Listed platform will permanently shut down December 31, 2026. Your data published on Listed will still be available in your personal Standard Notes account. Learn more

Git - How to Delete a Git Branch (Local and Remote)

test

// delete branch locally
git branch -d <localBranchName>

// delete branch remotely
git push origin --delete <remoteBranchName>

More at: https://www.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/

More from Teo Oliver
All posts