Ask your Question

Discover our new Professionals

Randip
Randip

eCommerce Web Developer

Deerfield Beach,  United States
UDAYAKUMAR
UDAYAKUMAR

PHP devoloper

Bangalore,  India
rakesh
rakesh

Software Developer

Delhi,  India
Prashant
Prashant

Web Developer

Noida,  India
shubham
shubham

php developer

noida,  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