Several sandboxes I've tried to clone lately say:

warning: remote HEAD refers to nonexistent ref, unable to checkout.

and leave me with an empty folder.

Example: http://drupal.org/sandbox/gapple/1180620

Comments

eliza411’s picture

Assigned: Unassigned » eliza411
Priority: Major » Normal

The owner of that particular branch has deleted the default 'master' so that the directions on the main page don't work:
git clone http://git.drupal.org/sandbox/gapple/1180620.git twitterfield

The directions on the newly-renamed Version control tab should work because they specify a branch name:
git clone --branch 6.x-1.x http://git.drupal.org/sandbox/gapple/1180620.git twitterfield

I'll look into options for updating the main clone directions, but the real solution is #1074960: Let maintainers set a default branch on git repositories

das-peter’s picture

Status: Active » Fixed

Thanks for letting me know.
I've just pushed an empty master branch. I guess it should work now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.