Skip to content

Instantly share code, notes, and snippets.

@ChanSek
Created May 13, 2017 05:37
Show Gist options
  • Save ChanSek/63d32046ff648cb194bdf5f75e406659 to your computer and use it in GitHub Desktop.
Save ChanSek/63d32046ff648cb194bdf5f75e406659 to your computer and use it in GitHub Desktop.
Git Commands
// Delete a remote branch
git push origin --delete <branch_name>
// Delete a local branch
git branch -d <branch_name>
// Force delete a local branch
git branch -D <branch_name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment