Thursday, March 21, 2013

Delete Git branches (local or remote)

git fetch -p # sync local branches with remote
git branch -D my_branch # Local delete
git push origin :my_brach # remove branch remotely

No comments:

Post a Comment