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

Safe to manually copy git repository?

From
Sskillzero@gmail.com <skillzero@gmail.com>
Date
May 10, 2008, 17:57 UTC
Message-ID
<2729632a0805101057r181b9afftdcaf7c6d0b8895f8@mail.gmail.com>

Is it safe to copy the .git directory to a different machine and/or location and start using it from there? Or are there machine and/or location-specific things in the repository? Setting up a copy with git init, git fetch, etc. doesn't copy hooks, etc. so I'd like to just be able to set things up locally and copy the repository to the server. It seems to work, but I wanted to double check.

Next: Sebastian Harl
Message 1 of 2 in “Safe to manually copy git repository?”
  1. skillzero@gmail.comMay 10, 2008
  2. Sebastian HarlMay 12, 2008

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.