I'm wondering how to pull a repo with all of the commits that have not been gc'd, if that is possible..
is it something like:
$ git clone x $ cd x $ git fetch origin -f
? or something else?
There is no command I'm aware of which says "bring down all commit objects in the remote repository, even those that are unreferenced".
You can only bring commits with a reference in the remote repository. You can do this with the command:
The remote repository will need to create a reference to any dangling commits before you can fetch them. If you have access to the remote repository, you can do this with a command like:
The output will show you any dangling commits. Give them a reference with