gistのファイルをダウンロード(参照)する

Posted by Tatsuyano on Tue, Mar 19, 2013
In
Tags git

gistのファイルをダウンロードするには、通常 git clone を利用するが、ファイル(rawファイル)を直接 wget などしたい場合がある。

その場合は下記のURLで取得する
https://raw.github.com/gist/<パラメータ>/<ファイル名>

例)
https://gist.github.com/zqwell/1021706

https://raw.github.com/gist/1021706/init-loader.el