Categories
Tips

How To Delete a Local and Remote Git Branch

To delete a local branch in Git.
git branch -D <branch_name>

To delete a remote branch in Git.
git push origin --delete <branch_name>

By Vivin Antony

Here I write mostly about software, technology, codings, my development/research works or anything that happens to interests me.
I'm a part designer and coder and some how a poor blogger, but trying hard in blog field to become a professional.

Leave a Reply

Your email address will not be published. Required fields are marked *