Skip to content

Instantly share code, notes, and snippets.

@winarcooo
Created August 18, 2020 08:08
Show Gist options
  • Save winarcooo/c023729ca8d28422e2077385b017932a to your computer and use it in GitHub Desktop.
Save winarcooo/c023729ca8d28422e2077385b017932a to your computer and use it in GitHub Desktop.
[git remote branch locally and remotely] #git
// delete branch locally
git branch -d localBranchName
// delete branch remotely
git push origin --delete remoteBranchName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment