CARVIEW |
Every repository with this icon (

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
|
Comments for defunkt's github-gem


/dev/null
exists in msys, which is a thin layer that mimics posix.In native Windows (which I suppose is the ruby version you’re running behind msys) the nul device is
NUL
, there is no/dev/null
since there is no/dev

It’s not just about Windows; some Linux distros don’t have the curl binary installed by default.

Who uses windows anyway? =P But yeah, using net/http is easy enough not to be good to everyone.

I guess that would look like:
require 'net/http' require 'uri' Net::HTTP.post_form(URI("https://github.com/#{user}/#{repo}/fork"), 'token' => github_token, 'login' => github_user)

Yeah, but that’s a external dependency is not available across platforms or users from different ruby implementations.
Couldn’t a Net::HTTP be simpler? no shell out and the same result…

git depends on curl

Yeah, easy, as long you have curl installed :-P
Common guys, don’t add hidden dependencies.

It is ridiculous how easy that was.

As of this commit,
github pull
no long does a fetch. You do not get commits from the remote repository. This is a bug.

Great patch, I needed this feature and you implemented before me.

huh?

yes

couldn’t that be `our_commits.compact!` :)