CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 16 Aug 2025 22:08:43 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100106134447
location: https://web.archive.org/web/20100106134447/https://github.com/guides/remove-a-remote-branch
server-timing: captures_list;dur=0.804370, exclusion.robots;dur=0.033274, exclusion.robots.policy;dur=0.019093, esindex;dur=0.017025, cdx.remote;dur=25.252359, LoadShardBlock;dur=308.143967, PetaboxLoader3.datanode;dur=71.828583, PetaboxLoader3.resolve;dur=58.218259
x-app-server: wwwb-app201
x-ts: 302
x-tr: 358
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app201; path=/
x-location: All
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: Sat, 16 Aug 2025 22:08:44 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 06 Jan 2010 13:44:47 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "6fb28c2f19cbe122c9e10fcf1a632653"
x-archive-orig-x-runtime: 95ms
x-archive-orig-content-length: 7966
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: Wed, 06 Jan 2010 13:44:47 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 06 Mar 2008 03:00:12 GMT", ; rel="prev memento"; datetime="Tue, 01 Dec 2009 16:36:11 GMT", ; rel="memento"; datetime="Wed, 06 Jan 2010 13:44:47 GMT", ; rel="next memento"; datetime="Sat, 30 Jan 2010 10:59:21 GMT", ; rel="last memento"; datetime="Sun, 04 Feb 2024 21:13:14 GMT"
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_20100106120225_crawl102-c/51_13_20100106134015_crawl101.arc.gz
server-timing: captures_list;dur=0.539545, exclusion.robots;dur=0.022192, exclusion.robots.policy;dur=0.013148, esindex;dur=0.010613, cdx.remote;dur=4.789063, LoadShardBlock;dur=177.181104, PetaboxLoader3.datanode;dur=168.433893, PetaboxLoader3.resolve;dur=171.330510, load_resource;dur=175.125628
x-app-server: wwwb-app201
x-ts: 200
x-tr: 402
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
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, 3 months ago
Versions:
This feature is coming soon. Sit tight!