Nov.18

How to delete a Git brach locally and remotely by command

// delete branch locally
git branch -d localBranchName

// delete branch remotely
git push origin --delete remoteBranchName
Share this Story:
  • facebook
  • twitter
  • gplus

Leave a comment

Facebook Comment