| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 16:44:33 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090801111423
location: https://web.archive.org/web/20090801111423/https://github.com/guides/remove-a-remote-branch
server-timing: captures_list;dur=0.527944, exclusion.robots;dur=0.046444, exclusion.robots.policy;dur=0.036409, esindex;dur=0.009857, cdx.remote;dur=9.479383, LoadShardBlock;dur=191.153954, PetaboxLoader3.resolve;dur=104.206165, PetaboxLoader3.datanode;dur=52.878334
x-app-server: wwwb-app204-dc6
x-ts: 302
x-tr: 223
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app204; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Tue, 23 Dec 2025 16:44:33 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sat, 01 Aug 2009 11:14:22 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 236ms
x-archive-orig-etag: "da14036eef7d36a1757afa2d463fd44a"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 6880
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 01 Aug 2009 11:14:23 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_11_20090801054226_crawl103.gpg-c/51_11_20090801111308_crawl101.arc.gz
server-timing: captures_list;dur=0.688848, exclusion.robots;dur=0.020935, exclusion.robots.policy;dur=0.010452, esindex;dur=0.010483, cdx.remote;dur=22.212832, LoadShardBlock;dur=1142.621378, PetaboxLoader3.datanode;dur=122.477824, PetaboxLoader3.resolve;dur=1075.300738, load_resource;dur=78.443769
x-app-server: wwwb-app224-dc8
x-ts: 200
x-tr: 1290
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: HIT
server-timing: HIT
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
Remove a remote branch - Guides - GitHub
Guides: Remove a remote branch
Guides: Remove a remote branch
Removing a branch from your remote repo is a little bit different from removing it locally. It’s all about the colon:
git push <remote_repo> :heads/<branch>
Example: git push origin :some-branch removes some-branch from the remote repo.
This works for removing a tag as well: git push origin :sometag
You might also want to check out git-publish-branch‘s ’-d’ option.
Last edited by chikamichi, 6 days ago
Versions:
This feature is coming soon. Sit tight!

