Chan Kim
Chan Kim

Reputation: 5989

how to get git image from the git hub when I only have a specific file's link?

I found a useful sample file at
https://github.com/SayCV/rtems-example-sparc-leon/blob/master/rtems-spi-sdcard.c
I cound get this sample file (by pressing 'raw' button and downloading the .c file) but I don't know how to get the whole git image.
Somebody please help!

ADD : For information, this command worked for me.
"git clone github.com/SayCV/rtems-example-sparc-leon.git"
see my comment to ckruczek's comment below.

Upvotes: 0

Views: 62

Answers (1)

ckruczek
ckruczek

Reputation: 2410

The whole git image? I may could image what you want to achieve:

git clone [email protected]:SayCV/rtems-example-sparc-leon.git

And you are ready to go.

Upvotes: 2

Related Questions