git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Trying to clone a repository in git, getting a error.

From
ABAdam Bourg <adam.bourg@gmail.com>
Date
Jul 5, 2011, 21:21 UTC
Message-ID
<CAGGoUy__mjY3S-DUkV59sstaU5Z__EVgFdCuumfVuSTa0XWavQ@mail.gmail.com>

I have two boxes, one is my local machine and the other is my dev server. Right now I'm testing this method of deploying apps using Git: http://blog.wekeroad.com/2009/11/23/deploying-a-web-application-with-git-and-ftp

I setup my local repository, added the files then committed. I am on Windows 7 & my server is Windows Server 2008.

The server is mapped as the W:\ Drive with my 'bare' repository and my target 'mock' production folder as child folders. -- I can get to each just fine, no connection problems.

Here's what I did to setup everything:
    Local dir git remote add origin w:\gitCentral
    Local dir git push origin master
    Type C:, then type CD testDeployment
    Now I'm in my test folder.
    A. I do git clone w:/gitCentral
    Cloning into gitCentral... done. error: refs/remotes/origin/master
does not point to a valid object! error: Trying to write ref
refs/heads/master with nonexistant object 559e2165845
06e14ebef1121059e9461a86dd4f8 fatal: Cannot update the ref 'HEAD'.
Message 1 of 1 in “Trying to clone a repository in git, getting a error.”
  1. Adam BourgJul 5, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.