Mohit Bajoria

Software Developer

Deleting remote Github branches

March 17, 2018

Git newbie find difficult to delete the remote branches as it can be done only through command line.

Deleting local branch

You can delete any local branch by

git branch -D branch_name

Deleting remote github branch

You can delete any remote branch by

git push -D origin branch_name

Example - let say, i have a branch at github name Feature-1 and i want to delete it

So i will do

git push -D origin Feature-1

and branch will be deleted

Understanding hello world program in go

Deploying apps to Zeit now