Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to clone a android open source project to my desktop

Essentially I am trying to clone this android open source project to my desktop.

https://android.googlesource.com/platform/packages/apps/DeskClock/+/android-4.3_r1

I am not sure what exactly to do.

I have tried:

git clone https://android.googlesource.com/platform/packages/apps/DeskClock/+/android-4.3_r1

But I got the error:

fatal: remote error: Git repository not found

So how would I have to create a repository and clone it in there?

I am just completely unsure on how to do this locally in my desktop.


1 Answers

The following works for me :

git clone https://android.googlesource.com/platform/packages/apps/DeskClock/

This would download the entire repository. Then you can checkout any branch you want.

like image 53
Eran Avatar answered Oct 14 '25 04:10

Eran