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

Cloning bare repository always warns that its empty.

From
Nnmartin <nmartin867@gmail.com>
Date
Jan 29, 2012, 03:09 UTC
Message-ID
<1327806561158-7233455.post@n2.nabble.com>
Hello..

I created a bare repository (empty) on my server which I making public over http. I cloned this repository on another machine(A), committed changes, and pushed the changes to the server. On the server when I run $ git log I can see the commit that I pushed. However if I clone this repository on a 3rd machine(B).. the repository is empty.

Can someone to me what I am doing wrong? I would expect the pushed changes to have been brought down to machine B.

Thanks!

-- View this message in context: http://git.661346.n2.nabble.com/Cloning-bare-repository-always-warns-that-its-empty-tp7233455p7233455.html Sent from the git mailing list archive at Nabble.com.

Next: Jeff King
Message 1 of 2 in “Cloning bare repository always warns that its empty.”
  1. nmartinJan 29, 2012
  2. Jeff KingJan 29, 2012

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.