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

concerns about git

From
Ddeepwinter <deepwinter@winterroot.net>
Date
Oct 13, 2008, 18:12 UTC
Message-ID
<19959918.post@talk.nabble.com>

i've been looking into using git for some version control and it looks great.. except for 1 thing that really disturbs me. why is the .git repository stored within the working copy? this is seems like a recipe for accidental deletion. if you are an individual using version control lets say for just your own work, there is a lot of security that is gained from at least having your repository within a different directory, or better on a different partition. this ensures that accidental deletions or hard drive crashes are less likely to result in loosing the ENTIRE project! of course, accidentally deleting your working copy is stupid, but it does happen. git seems to offer no protection against this kind of mistake for the individual coder.. or is there some way to have git put the actual repository files in a different directory? (can't find info on that)

-- 
View this message in context: http://www.nabble.com/concerns-about-git-tp19959918p19959918.html
Sent from the git mailing list archive at Nabble.com.
Next: Shawn O. Pearce
Message 1 of 5 in “concerns about git”
  1. deepwinterOct 13, 2008
  2. Shawn O. PearceOct 13, 2008
  3. David TweedOct 13, 2008
  4. BrandonOct 13, 2008
  5. Ciprian Dorin CraciunOct 14, 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.