Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Icover

Icover

Community Learner
Active in: Devops Salesforce
Share
1Questions
3Answers
3.2KViews on questions

How do I delete a Git branch locally and remotely?

To delete a Git branch:Locally:git branch -d branch-name # Use -D to force deleteRemotely:git push origin --delete branch-name

Devops

1 Answer · 3.2K Views · Answered ✓

Asked by: icover · 1 year ago

More members from the DevOps community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest DevOps Blogs

Guides, tips and career advice on DevOps from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.