hputtick
hputtick

Reputation: 107

git clone username problems. warning: remote HEAD refers to nonexistent ref, unable to checkout

Im using terminal to clone my squarespace repository. Im using this code and suffering some username and password problems

my-iMac:~ Beast$ git clone https://my-url.dev.squarespace.com/template.git
Cloning into template...
Username: 
Password: 
warning: remote HEAD refers to nonexistent ref, unable to checkout.

I cant enter any username or passwords. Nothing appears when i type in a UN or PW fields.

warning: remote HEAD refers to nonexistent ref, unable to checkout. What does this mean exactly. I googled it and still didnt understand fully. :(

I have been following the SS page of http://developers.squarespace.com/using-git/

With not huge knowledge of GIT, I know i have installed it correctly etc.

Any help in getting this warning sign rid of would be fantastic. thanks

Upvotes: 0

Views: 9757

Answers (1)

pva
pva

Reputation: 2045

The problem you experience is due to nonexistent master branch in remote repository. Better explained here:

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

Upvotes: 2

Related Questions