Skip to content

Instantly share code, notes, and snippets.

@samsonq
Created March 8, 2021 23:53
Show Gist options
  • Save samsonq/da8fe9d9e5e58f6f2d910441ae2c4f20 to your computer and use it in GitHub Desktop.
Save samsonq/da8fe9d9e5e58f6f2d910441ae2c4f20 to your computer and use it in GitHub Desktop.
Git Commands
// delete branch locally
git branch -d <branchName>
// delete branch remotely
git push origin --delete <branchName>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment