Reputation: 2632
Have anyone problems trying to clone this repo?
I've tried git clone https://github.com/ipython-contrib/IPython-notebook-extensions/blob/master/usability/comment-uncomment.js
but it says Error: repository not found.
Am I doing something wrong?
Upvotes: 0
Views: 48
Reputation: 871
The issue is that you are not trying to clone the entire repository. If you just want that file, it's probably easier to copy and paste it. Otherwise:
git clone https://github.com/ipython-contrib/IPython-notebook-extensions.git
Should work just fine (it did for me).
Upvotes: 2
Reputation: 316
You are trying to clone a file rather than the actual git repository. If you really want to checkout a single file you could use git archive (http://git-scm.com/docs/git-archive).
git clone https://github.com/ipython-contrib/IPython-notebook-extensions.git
Upvotes: 4