Can web interfaces like the GitHub garbage collector spoof remote git, and if not, can I get them?

Questions about Git hangs occur on systems like GitHub and BitBucket:

Do these systems collect garbage so that dangling commits are eventually removed? (I know that they are harmful to other repository users, I'm just learning what-if)

Is there a way to get / clone remote repositories so that these commits are enabled (i.e. get a full copy of all the commits that it contains)? I tried this, but I don't get separate commits, I think I miss the switch.

+4
source share
1 answer

It will not be a "stand-alone HEAD": a remote HEAD is when you check for ref, which is not a branch.

You would like to see reflogs from a remote GitHub repository, but as far as I know, these are not available. And locks are not cloned.
See Also " git. Can I view the backup of a remote device?

+1
source

All Articles