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

can I configure git clone to preserve the '.git' when it makes the initial dir

From
SBStephen Bannasch <stephen.bannasch@gmail.com>
Date
Jul 4, 2008, 22:28 UTC
Message-ID
<p06240819c49453b4beda@[192.168.1.105]>

As I'm moving to more use of git I find it very helpful to keep the '.git' suffix on the names of directories in which I have git repositories. This makes it easier to distinguish between checkouts using different SCMs.

Is there a way to configure git clone to preserve the '.git' suffix when creating a directory?

Thanks for any ideas.
-- 
- Stephen Bannasch
   Concord Consortium, http://www.concord.org
Next: Stephan Beyer
Message 1 of 2 in “can I configure git clone to preserve the '.git' when it makes the initial dir”
  1. Stephen BannaschJul 4, 2008
  2. Stephan BeyerJul 4, 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.