I’m new to git and trying to do what I thought would be trivial. I just want to extract the files from the downloaded archive.
I used git clone https://android.googlesource.com/kernel/common.git
I got a directory “common” with several subdirs including common/.git/objects/pack/*biglongname*.pack and a similarly named .idx file.
I’ve search all over for a simple command to extract the source files. I’ve tried git archive, git unpack-objects, git pull and a bunch of others with no joy.
What am I missing here? this just has to be simple.
This repository is a bit strange, since the
HEADhas no files in it. You have to checkout one of the two real branches:or