Clone the Github repository


#1

I just bought a grovepi and some sensors. I have installed the Brick Pi Image on my SD card and I did update my configuration and hardware profiles by running "sudo apt-get update && sudo apt-get upgrade. When I did clone the Github repository at an appropriate location in Raspbian
(git clone https://github.com/DexterInd/GrovePi.git), I have met some problem. I was requested to type username and password but I did know. So, please let me know regarding username and password.


#2

Hi,
The username should be “pi” and the password “raspberry”.


#3

According to your post, it is not work. I’m capture the error as a picture file. Please let me know how to provide an username and password.


#4

The GitHub username it is asking for is your personal GitHub account.

When cloning a repository, you need to authenticate with GitHub as someone.

To avoid having to enter it each time, normally you create a .gitconfig file in your home directory.

Here is how you set your name + email in your config file:


git config --global user.name "John Doe"
git config --global user.email john@example.com

Further reading:
http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup