Delete git branch

We can delete a branch by calling the branch command and passing in the -d option, followed by the branch name.
$ git branch -d <branchname>


You can delete a remote branch using
$ git push <remote_name> --delete <branch_name>
Note that in most cases the remote name is origin.
Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...