Skip to contentSkip to conversation

Warning while cloning remote repository

DISCUSSION Shameem Ahamed 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I ran in to a warning message while cloning a remote repository.

The message is

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

After the cloning i couldn't see any remote files. The .git folder is created successfully.

Regards,
Shameem

#1 lore raw

Shameem Ahamed schreef:

Quoted 10 lines

Hi,

I ran in to a warning message while cloning a remote repository.

The message is

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

After the cloning i couldn't see any remote files. The .git folder is created successfully.

try
git checkout -t origin/master

on the clone.. Maybe its a workaround?