CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 24 Jul 2025 14:01:43 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091009055640
location: https://web.archive.org/web/20091009055640/https://github.com/defunkt/github-gem
server-timing: captures_list;dur=0.738705, exclusion.robots;dur=0.030266, exclusion.robots.policy;dur=0.014180, esindex;dur=0.017529, cdx.remote;dur=137.424963, LoadShardBlock;dur=960.758034, PetaboxLoader3.resolve;dur=136.415798, PetaboxLoader3.datanode;dur=683.344357
x-app-server: wwwb-app223
x-ts: 302
x-tr: 1131
server-timing: TR;dur=0,Tw;dur=566,Tc;dur=0
set-cookie: SERVER=wwwb-app223; 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: Thu, 24 Jul 2025 14:01:47 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Fri, 09 Oct 2009 05:56:39 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "f68ec5cf17004cecea2c0806406e37be"
x-archive-orig-x-runtime: 128ms
x-archive-orig-content-length: 32508
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, 09 Oct 2009 05:56:40 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Wed, 14 May 2008 16:33:42 GMT", ; rel="prev memento"; datetime="Thu, 17 Sep 2009 05:30:38 GMT", ; rel="memento"; datetime="Fri, 09 Oct 2009 05:56:40 GMT", ; rel="next memento"; datetime="Mon, 02 Nov 2009 02:56:56 GMT", ; rel="last memento"; datetime="Thu, 24 Apr 2025 00:06:04 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_12_20091009045405_crawl101-c/51_12_20091009055606_crawl101.arc.gz
server-timing: captures_list;dur=0.662552, exclusion.robots;dur=0.024129, exclusion.robots.policy;dur=0.011628, esindex;dur=0.013432, cdx.remote;dur=315.092649, LoadShardBlock;dur=1948.745623, PetaboxLoader3.resolve;dur=2421.994813, PetaboxLoader3.datanode;dur=268.568240, load_resource;dur=1278.133696
x-app-server: wwwb-app223
x-ts: 200
x-tr: 3620
server-timing: TR;dur=0,Tw;dur=545,Tc;dur=14
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
defunkt's github-gem at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | The official `github` command line helper for simplifying your GitHub experience. edit |
Homepage: | https://github.com edit |
Public Clone URL: |
git://github.com/defunkt/github-gem.git
Give this clone URL to anyone.
git clone git://github.com/defunkt/github-gem.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:defunkt/github-gem.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Tue Nov 25 18:04:07 -0800 2008 | add setup.rb for those without rubygems [pjhyett] |
![]() |
History.txt | Sun Nov 16 12:05:25 -0800 2008 | Smarter clone command uses SSH if current user ... [defunkt] |
![]() |
LICENSE | Thu Feb 28 01:36:50 -0800 2008 | the manifesto [defunkt] |
![]() |
Manifest | Wed Mar 25 19:41:22 -0700 2009 | Update manifest. Signed-off-by: Chris Wanstrat... [nex3] |
![]() |
README | Fri Nov 14 01:08:03 -0800 2008 | Updated README to use correct clone arguments. [badcarl] |
![]() |
Rakefile | Thu Nov 13 00:52:49 -0800 2008 | 0.3.0 & gh [defunkt] |
![]() |
bin/ | Tue Nov 25 18:02:53 -0800 2008 | only add lib to if it exists [pjhyett] |
![]() |
github-gem.gemspec | Wed Dec 03 19:13:57 -0800 2008 | i blame pj [defunkt] |
![]() |
lib/ | Wed Jun 03 14:08:08 -0700 2009 | Add private repository option to create command... [jqr] |
![]() |
setup.rb | Tue Nov 25 18:04:07 -0800 2008 | add setup.rb for those without rubygems [pjhyett] |
![]() |
spec/ | Fri Nov 14 17:26:47 -0800 2008 | Merge branch 'eolamey/master' [defunkt] |
README
The GitHub Gem ============= This gem'll work hand-in-hand with GitHub's API to help you out. Catch us in the #github room on freenode if you want to get involved. Or just fork and send a pull request. =========== Getting started =========== $ gem install defunkt-github -s https://gems.github.com Run it: $ github <command> <args> ============= Pulling Upstream Changes ============= Let's say you just forked `github-gem` on GitHub from defunkt. $ github clone YOU/github-gem $ cd github-gem $ github pull defunkt This will setup a remote and branch for defunkt's repository at master. In this case, a 'defunkt/master' branch. If defunkt makes some changes you want, simply `github pull defunkt`. This will leave you in the 'defunkt/master' branch after pulling changes from defunkt's remote. After confirming that defunkt's changes were what you wanted, run `git checkout master` and then `git merge defunkt/master` to merge defunkt's changes into your own master branch. In summary: $ github pull defunkt $ github checkout master $ github merge defunkt/master If you've already reviewed defunkt's changes and just want to merge them into your master branch, use the `merge` flag: $ github pull --merge defunkt ========== Fetching and Evaluation Downstream Changes ========== If you are the maintainer of a project, you will often need to fetch commits from other developers, evaluate and/or test them, then merge them into the project. Let's say you are 'defunkt' and 'mojombo' has forked your 'github-gem' repo, made some changes and issues you a pull request for his 'master' branch. From the root of the project, you can do: $ github fetch mojombo master This will leave you in the 'mojombo/master' branch after fetching his commits. Your local 'mojombo/master' branch is now at the exact same place as mojombo's 'master' branch. You can now run tests or evaluate the code for awesomeness. If mojombo's changes are good, you'll want to merge your 'master' (or another branch) into those changes so you can retest post-integration: $ github merge master Test/analyze again and if everything is ok: $ github checkout master $ github merge mojombo/master The latter command will be a fast-forward merge since you already did the real merge previously. ========== Network Patch Queue ========== The github gem can also show you all of the commits that exist on any fork of your project (your network) that you don't have in your branch yet. In order to see the list of the projects that have commits you do not, you can run: $ github network list Which will show you all the forks that have changes. If you want to see what those changes are, you can run: $ github network commits which will show you something like this: 9582b9 (jchris/gist) kevin@sb.org Add gist binary 4 months ago c1a6f9 (jchris/gist~1) kevin@sb.org Tweak Rakefile spec tasks to be a bi 4 months ago d3c332 (jchris/gist~2) kevin@sb.org Pull out two helpers into the shared 4 months ago 8f65ab (jchris/gist~3) kevin@sb.org Extract command/helper spec assistan 4 months ago 389dbf (jchris/gist~4) kevin@sb.org Rename ui_spec to command_spec 4 months ago 670a1a (jchris/gist~5) kevin@sb.org Hoist the specs into a per-binary sp 4 months ago 6aa18e (jchris/gist~6) kevin@sb.org Hoist commands/helpers into a per-co 4 months ago ee013a (luislavena/master) luislavena@gmail.com Replaced STDOUT by $stdout in specs. 2 weeks ago d543c4 (luislavena/master~3) luislavena@gmail.com Exclude package folder. 8 weeks ago a8c3eb (luislavena/master~5) luislavena@gmail.com Fixed specs for open under Windows. 5 months ago 33d003 (riquedafreak/master) enrique.osuna@gmail. Make sure it exists on the remote an 5 weeks ago 157155 (riquedafreak/master~1) enrique.osuna@gmail. Updated specs. 5 weeks ago f44e99 (riquedafreak/master~3) enrique.osuna@gmail. Only work with a clean branch. 3 months ago These are all the commits that you don't have in your current branch that have been pushed to other forks of your project. If you want to incorporate them, you can use: $ github cherry-pick ee013a for example to apply that single patch to your branch. You can also merge a branch, if you want all the changes introduced in another branch: $ github merge jchris/gist The next time you run the 'github network commits' command, you won't see any of the patches you have cherry-picked or merged (or rebased). If you want to ignore a commit, you can simply run: $ github ignore a8c3eb Then you won't ever see that commit again. Or, if you want to ignore a range of commits, you can use the normal Git revision selection shorthands - for example, if you want to ignore all 7 jchris/gist commits there, you can run: $ github ignore ..jchris/gist You can also filter the output, if you want to see some subset. You can filter by project, author and date range, or (one of the cooler things) you can filter by whether the patch applies cleanly to your branch head or not. For instance, I can do this: $ ./bin/github network commits --applies ca15af (jchris/master~1) jchris@grabb.it fixed github gemspecs broken referen 8 weeks ago ee013a (luislavena/master) luislavena@gmail.com Replaced STDOUT by $stdout in specs. 2 weeks ago 157155 (riquedafreak/master~1) enrique.osuna@gmail. Updated specs. 5 weeks ago f44e99 (riquedafreak/master~3) enrique.osuna@gmail. Only work with a clean branch. 3 months ago $ ./bin/github network commits --applies --project=riq 157155 (riquedafreak/master~1) enrique.osuna@gmail. Updated specs. 5 weeks ago f44e99 (riquedafreak/master~3) enrique.osuna@gmail. Only work with a clean branch. 3 months ago Pretty freaking sweet. Also, you can supply the --shas option to just get a list of the shas instead of the pretty printout here, so you can pipe that into other scripts (like 'github ignore' for instance). ========== Contributors ========== - defunkt - maddox - halorgium - kballard - mojombo - schacon
This feature is coming soon. Sit tight!