You are not logged in.
Pages: 1
I'm tryin' to create a git repo here...
So I go create the repo on my server, and add the initial files to it, but when I try and clone it on my computer, I get the following error: warning: remote HEAD refers to nonexistent ref, unable to checkout.
any ideas?
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
You need to add and commit your files.
The suggestion box only accepts patches.
Offline
I have. I run 'git add <file>' and then 'git commit -a'
that's all that's needed right?
Last edited by Stythys (2008-06-22 10:48:52)
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
Yeah that /should/ do it... unless maybe you're using http for the clone, in which case you need to set the post-update hook to executable and run git update-server-info at least once.
The suggestion box only accepts patches.
Offline
Pages: 1