| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 04:03:43 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090919063457
location: https://web.archive.org/web/20090919063457/https://github.com/guides/remove-a-remote-branch
server-timing: captures_list;dur=0.513887, exclusion.robots;dur=0.042718, exclusion.robots.policy;dur=0.033551, esindex;dur=0.009886, cdx.remote;dur=4.978221, LoadShardBlock;dur=409.821488, PetaboxLoader3.resolve;dur=98.314336, PetaboxLoader3.datanode;dur=259.066539
x-app-server: wwwb-app206-dc6
x-ts: 302
x-tr: 437
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app206; 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 04:03:44 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.35
x-archive-orig-date: Sat, 19 Sep 2009 06:34:55 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "e90514dad40799b6bccd51e1c5172a00"
x-archive-orig-x-runtime: 257ms
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: Sat, 19 Sep 2009 06:34:57 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_20090919035432_crawl100.gpg-c/51_11_20090919062513_crawl101.arc.gz
server-timing: captures_list;dur=0.778683, exclusion.robots;dur=0.025156, exclusion.robots.policy;dur=0.010746, esindex;dur=0.013389, cdx.remote;dur=5.694992, LoadShardBlock;dur=79.327099, PetaboxLoader3.datanode;dur=65.282182, PetaboxLoader3.resolve;dur=65.066529, load_resource;dur=367.412402
x-app-server: wwwb-app206-dc6
x-ts: 200
x-tr: 493
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 :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!

