Ask your Question

Discover our new Professionals

Pawan Singh
Pawan Singh

Software Engineer

new delhi,  India
Sangita
Sangita

SAP Application support

Pune,  India
Hashir
Hashir

Rawalpindi,  Pakistan
Bhuwan
Bhuwan

Intern PHP Developer

Dehradun,  India
Mintu
Mintu

Faridabad,  India

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

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site