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

Re: git push from client is not updating files on server

From
NKNeal Kreitzinger <nkreitzinger@gmail.com>
Date
Mar 7, 2012, 01:11 UTC
Message-ID
<4F56B5B0.5040204@gmail.com>
In-Reply-To
<CAC0z1F9sBYCuv_HMCx1ryWLvxZKUcLPS1UUj80ihEesje+SKzg@mail.gmail.com>
On 3/6/2012 6:28 PM, Jerome Yanga wrote:
Show 5 quoted lines
> The project in Apache's DocumentRoot was created using the following command:
>
> "cd /var/www/git
> git clone --bare<non-bare working directory>  <project>.git"
>
I have a comment on the above command.  Did you run:
git clone --bare /non-bare/working/directory project.git
(or)
git clone --bare file:///non-bare/working/directory project.git

because the former does hardlinks and the latter does a full copy (see git-clone manpage section "GIT URLS"). I'm not sure how much it matters, but you should confirm whether what you did is what you want.

v/r, neal

Previous: Jerome YangaNext: Junio C Hamano
Message 10 of 15 in “git push from client is not updating files on server”
  1. Jerome YangaMar 6, 2012
  2. Ben TebulinMar 6, 2012
  3. Junio C HamanoMar 6, 2012
  4. Neal KreitzingerMar 6, 2012
  5. Neal KreitzingerMar 6, 2012
  6. Junio C HamanoMar 6, 2012
  7. Jerome YangaMar 6, 2012
  8. Neal KreitzingerMar 6, 2012
  9. Jerome YangaMar 7, 2012
  10. Neal KreitzingerMar 7, 2012
  11. Junio C HamanoMar 7, 2012
  12. Neal KreitzingerMar 7, 2012
  13. Holger HellmuthMar 7, 2012
  14. Jerome YangaMar 7, 2012
  15. Jerome YangaMar 30, 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.