Issuing Github commands on Git Bash when not connected to the internet
Domanda
Due to permissions on our network, the account I use to run "Git Bash" (on Windows) does not have internet access. As described here: https://github.com/mozilla/pdf.js, I want to issue this command:
$ git clone git://github.com/mozilla/pdf.js.git pdfjs
And then issue:
$ make
Obviously, I get an error from the first command:
fatal: unable to connect to github.com
Can I somehow download the project from github and do this all from my local machine?
Soluzione
https://github.com/mozilla/pdf.js/zipball/master
There's a zip button in the upper left hand corner, by the git repository link. If you can get that zip on to this machine somehow, you have everything you need.
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow