How to delete the Git branch locally and remotely?+How do I delete a Git branch locally and remotely?+delete a Git branch locally and remotely?
ReportQuestion
Delete the git remote branch
git push <<origin>> --delete <branch_name> # Git version 1.7.0 or newer
git push <<origin>> -d <branch_name> # Git Shorter version (Git 1.7.0 or newer)
git push <<origin>> :<branch_name> ...
Please briefly explain why you feel this question should be reported .
0
Gitlab
2 years
0 Answers
40 views