{"thread":{"id":"27757","subject":"Trying to clone a repository in git, getting a error.","startedAt":"2011-07-05T21:21:05Z","lastAt":"2011-07-05T21:21:05Z","messageCount":1,"participants":["Adam Bourg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"170842","messageId":"CAGGoUy__mjY3S-DUkV59sstaU5Z__EVgFdCuumfVuSTa0XWavQ@mail.gmail.com","threadId":"27757","inReplyTo":null,"subject":"Trying to clone a repository in git, getting a error.","fromName":"Adam Bourg","fromEmail":"adam.bourg@gmail.com","sentAt":"2011-07-05T21:21:05Z","receivedAt":"2011-07-05T21:21:05Z","isPatch":false,"sender":{"key":"adam.bourg@gmail.com","avatar":null},"body":"I have two boxes, one is my local machine and the other is my dev\nserver. Right now I'm testing this method of deploying apps using Git:\nhttp://blog.wekeroad.com/2009/11/23/deploying-a-web-application-with-git-and-ftp\n\nI setup my local repository, added the files then committed. I am on\nWindows 7 & my server is Windows Server 2008.\n\nThe server is mapped as the W:\\ Drive with my 'bare' repository and my\ntarget 'mock' production folder as child folders. -- I can get to each\njust fine, no connection problems.\n\nHere's what I did to setup everything:\n\n    Local dir git remote add origin w:\\gitCentral\n\n    Local dir git push origin master\n\n    Type C:, then type CD testDeployment\n\n    Now I'm in my test folder.\n\n    A. I do git clone w:/gitCentral\n\n    Cloning into gitCentral... done. error: refs/remotes/origin/master\ndoes not point to a valid object! error: Trying to write ref\nrefs/heads/master with nonexistant object 559e2165845\n06e14ebef1121059e9461a86dd4f8 fatal: Cannot update the ref 'HEAD'.\n"}]}