431 B
431 B
title, type, language, tags, cover, dateModified
| title | type | language | tags | cover | dateModified | ||
|---|---|---|---|---|---|---|---|
| Delete a remote branch | snippet | git |
|
waves-from-above | 2021-04-13T21:10:59+03:00 |
Deletes a remote branch.
- Use
git push -d <remote> <branch>to delete the specified remote<branch>on the given<remote>.
git push -d <remote> <branch>
git checkout master
git push -d origin patch-1 # Deletes the `patch-1` remote branch