| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 22:31:54 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091201163611
location: https://web.archive.org/web/20091201163611/https://github.com/guides/remove-a-remote-branch
server-timing: captures_list;dur=1.438090, exclusion.robots;dur=0.903575, exclusion.robots.policy;dur=0.044351, esindex;dur=0.010639, cdx.remote;dur=9.358767, LoadShardBlock;dur=291.079397, PetaboxLoader3.resolve;dur=166.494741, PetaboxLoader3.datanode;dur=115.286853
x-app-server: wwwb-app213-dc8
x-ts: 302
x-tr: 324
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app213; 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 22:31:55 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 01 Dec 2009 16:36:10 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "13dcb839b25afb83e5d06a71e33df0e4"
x-archive-orig-x-runtime: 132ms
x-archive-orig-content-length: 7925
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Tue, 01 Dec 2009 16:36:11 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_13_20091201091714_crawl103-c/51_13_20091201162156_crawl101.arc.gz
server-timing: captures_list;dur=0.684103, exclusion.robots;dur=0.027634, exclusion.robots.policy;dur=0.013984, esindex;dur=0.012307, cdx.remote;dur=58.376616, LoadShardBlock;dur=376.267767, PetaboxLoader3.datanode;dur=240.804503, PetaboxLoader3.resolve;dur=271.290827, load_resource;dur=274.641232
x-app-server: wwwb-app213-dc8
x-ts: 200
x-tr: 748
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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=()
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 :heads/some-branch removes some-branch from the remote repo (apparently git push origin :some-branch works as well).
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 rdp, 2 months ago
Versions:
This feature is coming soon. Sit tight!
