Delete a local branch
Use the following command to delete a branch already merged: git branch -d <branch_name>
git branch -D <branch_name>
Delete a remote branch
Use one of following commands to delete a remote branch (valid with git version 1.7 or later): git push origin --delete <branch_name>
git push origin :<branch_name>
No comments:
Post a Comment