| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Tue, 23 Dec 2025 16:23:50 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091006235101
location: https://web.archive.org/web/20091006235101/https://github.com/guides/push-a-branch-to-github
server-timing: captures_list;dur=0.571677, exclusion.robots;dur=0.052117, exclusion.robots.policy;dur=0.042491, esindex;dur=0.008170, cdx.remote;dur=6.810679, LoadShardBlock;dur=251.246851, PetaboxLoader3.resolve;dur=94.358441, PetaboxLoader3.datanode;dur=152.930083
x-app-server: wwwb-app217-dc8
x-ts: 302
x-tr: 281
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app217; 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 16:23:50 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Tue, 06 Oct 2009 23:51:01 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "5a94c9d70ffbc177644b58129f4024ab"
x-archive-orig-x-runtime: 57ms
x-archive-orig-content-length: 7166
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, 06 Oct 2009 23:51:01 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_12_20091006150227_crawl100_IndexOnly-c/51_12_20091006234511_crawl101.arc.gz
server-timing: captures_list;dur=0.559259, exclusion.robots;dur=0.018140, exclusion.robots.policy;dur=0.008595, esindex;dur=0.011781, cdx.remote;dur=5.652253, LoadShardBlock;dur=125.543124, PetaboxLoader3.datanode;dur=173.310953, PetaboxLoader3.resolve;dur=43.634609, load_resource;dur=116.450007
x-app-server: wwwb-app217-dc8
x-ts: 200
x-tr: 294
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
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
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, about 1 month ago
Versions:
This feature is coming soon. Sit tight!
