CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 08 Aug 2025 10:41:47 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100226064731
location: https://web.archive.org/web/20100226064731/https://github.com/guides/push-a-branch-to-github
server-timing: captures_list;dur=0.536375, exclusion.robots;dur=0.023854, exclusion.robots.policy;dur=0.014611, esindex;dur=0.011360, cdx.remote;dur=52.550514, LoadShardBlock;dur=243.298459, PetaboxLoader3.resolve;dur=93.420469, PetaboxLoader3.datanode;dur=78.795391
x-app-server: wwwb-app201
x-ts: 302
x-tr: 321
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
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: Fri, 08 Aug 2025 10:41:48 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Fri, 26 Feb 2010 06:47:27 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "f874d96f41fa7a884a3aa07308256ca8"
x-archive-orig-x-runtime: 151ms
x-archive-orig-content-length: 7637
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: Fri, 26 Feb 2010 06:47:31 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 13 Jun 2008 04:03:54 GMT", ; rel="prev memento"; datetime="Mon, 01 Feb 2010 07:18:45 GMT", ; rel="memento"; datetime="Fri, 26 Feb 2010 06:47:31 GMT", ; rel="next memento"; datetime="Sun, 18 Apr 2010 18:19:29 GMT", ; rel="last memento"; datetime="Mon, 05 Feb 2024 03:43:25 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_14_20100226034155_crawl102-c/51_14_20100226064559_crawl101.arc.gz
server-timing: captures_list;dur=2.364815, exclusion.robots;dur=0.023309, exclusion.robots.policy;dur=0.014418, esindex;dur=0.011575, cdx.remote;dur=52.780714, LoadShardBlock;dur=320.360125, PetaboxLoader3.datanode;dur=267.673845, PetaboxLoader3.resolve;dur=335.832407, load_resource;dur=312.565115
x-app-server: wwwb-app201
x-ts: 200
x-tr: 734
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
Push a Branch to GitHub - Guides - GitHub
Guides: Push a Branch to GitHub
Guides: Push a Branch to GitHub
Github is all about sharing content, so at some point you’ll be willing to push from your local git repository to github’s. To push a local branch to your remote repository, do:
git push <remote_repository_name> <branch_name>
Examples:
Assuming you did git clone git://github.com/you/your-project.git
, hence origin
is the remote.
- pushing the branch my_new_branch
to your Github repos: git push origin my_new_branch
- merging the branch experiment
into master
and push it:
git checkout master
git merge experiment
git push origin master
To remove a useless branch after merging and/or pushing, see Guide: Remove a remote branch.
Last edited by jherdman, 5 months ago
Versions: