--- title: Delete a remote branch tags: repository,branch expertise: intermediate author: maciv firstSeen: 2021-04-08T19:42:01+03:00 lastUpdated: 2021-04-13T21:10:59+03:00 --- Deletes a remote branch. - Use `git push -d ` to delete the specified remote `` on the given ``. ```shell git push -d ``` ```shell git checkout master git push -d origin patch-1 # Deletes the `patch-1` remote branch ```