Skip to content

Instantly share code, notes, and snippets.

@smrati
Created November 16, 2018 17:10
Show Gist options
  • Save smrati/0b6044322fad13f2248d87916504efab to your computer and use it in GitHub Desktop.
Save smrati/0b6044322fad13f2248d87916504efab to your computer and use it in GitHub Desktop.
How to delete a remote branch from local without deleting it from remote repo
git branch -d -r origin/mohit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment