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/
Locked
User avatar
dnorris011
 
Posts: 12
Joined: Sun Oct 14, 2012 1:11 pm

Clone from Github

Post by dnorris011 »

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.

User avatar
adafruit_support_bill
 
Posts: 88092
Joined: Sat Feb 07, 2009 10:11 am

Re: Clone from Github

Post by adafruit_support_bill »

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

User avatar
dnorris011
 
Posts: 12
Joined: Sun Oct 14, 2012 1:11 pm

Re: Clone from Github

Post by dnorris011 »

Thanks, I was just following Kevin Townsend's tutorial in the 16 channel I2C board writeup. He might want to change it.

User avatar
dnorris011
 
Posts: 12
Joined: Sun Oct 14, 2012 1:11 pm

Re: Clone from Github

Post by dnorris011 »

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.

User avatar
adafruit_support_bill
 
Posts: 88092
Joined: Sat Feb 07, 2009 10:11 am

Re: Clone from Github

Post by adafruit_support_bill »

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.

tldr
 
Posts: 466
Joined: Thu Aug 30, 2012 1:34 am

Re: Clone from Github

Post by tldr »

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

type

Code: Select all

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.

User avatar
orchard800
 
Posts: 48
Joined: Fri Apr 17, 2015 9:25 pm

Re: Clone from Github

Post by orchard800 »

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.

Locked
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/

Return to “Adafruit Raspberry Pi® accessories”