Memorial day is 05/25/2015 – Orders will ship out on May 26th. There will not be any deliveries or shipping on Monday. Any order placed after 11am ET on Friday May 22nd will not start to ship out until Tuesday May 26th.

Clone from Github
Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

Clone from Github

by dnorris011 on Mon Feb 11, 2013 11:44 am

I am trying to git the I2C library from github, but it asks for user name/password. I entered my Adafruit forum name to no avail. Please help.
dnorris011
 
Posts: 6
Joined: Sun Oct 14, 2012 1:11 pm

Re: Clone from Github

by adafruit_support_bill on Mon Feb 11, 2013 12:23 pm

Clone is for developers working on the code. To just get a copy to use. click on the "zip" button.

adafruit_support_bill
 
Posts: 37482
Joined: Sat Feb 07, 2009 10:11 am

Re: Clone from Github

by dnorris011 on Mon Feb 11, 2013 12:41 pm

Thanks, I was just following Kevin Townsend's tutorial in the 16 channel I2C board writeup. He might want to change it.
dnorris011
 
Posts: 6
Joined: Sun Oct 14, 2012 1:11 pm

Re: Clone from Github

by dnorris011 on Mon Feb 11, 2013 1:23 pm

OK, I am officially frustrated. There is no zip button. I was following the exact instructions that appear in multiple tutorials regarding downloading the code. And yes, I am a developer.

Has something been changed on the website? I am looking at screen shots from tutorials where the exact commandline I typed allows direct access to the repository.
dnorris011
 
Posts: 6
Joined: Sun Oct 14, 2012 1:11 pm

Re: Clone from Github

by adafruit_support_bill on Mon Feb 11, 2013 1:44 pm

It should be just to the right of the "clone" button:
Image

If you want to use the "Clone" button, you need to create a Github account.

adafruit_support_bill
 
Posts: 37482
Joined: Sat Feb 07, 2009 10:11 am

Re: Clone from Github

by tldr on Mon Feb 11, 2013 2:09 pm

the instructions in the tutorial are for the command line. adafruit support is referring to accessing via the web.

type

Code: Select all | TOGGLE FULL SIZE
git clone https://github.com/adafruit/Adafruit-Raspberry-Pi-Python-Code.git


at the command line on your pi. to get to a command line interface, if you're running the gui, startt up LXTerminal or type ctl-alt-F1 to get a console screen.
"If I had known it was harmless, I would have killed it myself." - Phillip K. Dick, A Scanner Darkly
User avatar
tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Clone from Github

by orchard800 on Mon Apr 27, 2015 3:02 pm

Got it! It always asks for a username and password if there is an error/typo in the github clone url. So, when https://github.com/blahblah is entered correctly, it doesnt ask for a username.

orchard800
 
Posts: 34
Joined: Fri Apr 17, 2015 9:25 pm