Site icon Being Software Craftsman (DFTBA)

Delete a Git Branch Both Locally and Remotely

// Delete branch locally
git branch -d <local-branch-name>

// Delete branch remotely
git push origin --delete <remote-branch-name>
Exit mobile version