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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephan Beyer
Date: Friday, July 4, 2008 - 4:22 pm

Hi,

Stephen Bannasch wrote:

When you finally fall in love with git, you won't want to
use another SCM. :)
Even, if you have to, there is git-cvs{exportcommit,import}, git-svn,
and some other more or less working interfaces from git to other SCMs.

Perhaps it's also worth having a look at http://kitenet.net/~joey/code/mr/
(I've never used it, but heard of people who like using it.)


I don't know a configuration for that, but you can simply do:
	git clone <repository> <reponame>.git
(e.g.	git clone git://example.com/foo.git foo.git)

But, btw, I think some unofficial convention is, that the ".git" suffix
indicates a bare repository and without that suffix it is a checked out
working tree.

Regards,
  Stephan

-- 
Stephan Beyer <s-beyer@gmx.net>, PGP 0x6EDDD207FCC5040F
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: can I configure git clone to preserve the '.git' when ..., Stephan Beyer, (Fri Jul 4, 4:22 pm)