CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 25 Jul 2025 00:45:11 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090827092657
location: https://web.archive.org/web/20090827092657/https://github.com/guides/remove-a-remote-branch
server-timing: captures_list;dur=0.625867, exclusion.robots;dur=0.023203, exclusion.robots.policy;dur=0.010647, esindex;dur=0.013739, cdx.remote;dur=7.914959, LoadShardBlock;dur=161.994349, PetaboxLoader3.datanode;dur=42.004861
x-app-server: wwwb-app221
x-ts: 302
x-tr: 198
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app221; 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: Fri, 25 Jul 2025 00:45:12 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Thu, 27 Aug 2009 09:26:57 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 162ms
x-archive-orig-etag: "19a4dd390928ef96f32b54c6d1769742"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 6887
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 27 Aug 2009 09:26:57 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="Sat, 01 Aug 2009 11:14:23 GMT", ; rel="memento"; datetime="Thu, 27 Aug 2009 09:26:57 GMT", ; rel="next memento"; datetime="Sat, 19 Sep 2009 06:34:57 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_11_20090827023825_crawl103_IndexOnly.gpg-c/51_11_20090827092650_crawl101.arc.gz
server-timing: captures_list;dur=0.750665, exclusion.robots;dur=0.027990, exclusion.robots.policy;dur=0.014471, esindex;dur=0.013065, cdx.remote;dur=23.959979, LoadShardBlock;dur=202.840269, PetaboxLoader3.datanode;dur=199.107904, PetaboxLoader3.resolve;dur=189.119499, load_resource;dur=199.532060
x-app-server: wwwb-app221
x-ts: 200
x-tr: 478
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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 :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, about 1 month ago
Versions:
This feature is coming soon. Sit tight!