Ask your Question

Discover our new Professionals

Nitish
Nitish

Implementing Facebook pixel in ecommerce platform

Noida,  India
Ritu
Ritu

Professional Content Writer

Delhi,  India
Jaskaran
Jaskaran

Web Developer

Noida,  India
Akashdeep
Akashdeep

Mohali,  India
Shraddha
Shraddha

HR professional

Slough,  United Kingdom

Write to us

Ask Question

How to Delete Branches locally and remotely in git

Ranjeet Singh

To delete a branch locally from your machine

$ git branch -D <branch_name>

To delete a branch remotely from the server

$ git push origin --delete <branch_name>

Ranjeet Singh