Git delete remote and local branches

Delete local branch


git branch -d feat/mybranch

-d   Delete branch

Delete remote branch


git branch -dr origin/feat/mybranch

-r   Remote branch

 

Comments