What does git push origin –delete branch-name do?

Git Medium

Git — Medium

What does git push origin –delete branch-name do?

Key points

  • The --delete flag is crucial for remote branch removal
  • Origin refers to the remote repository in this context
  • Local branches remain intact after the operation
  • Remote branch deletion requires explicit permission

Ready to go further?

Related questions