[Cryptech Tech] Naming conventions for repos?

Fredrik Thulin fredrik at thulin.net
Tue Feb 18 07:37:27 UTC 2014


On Monday 17 February 2014 17.58.37 Rob Austein wrote:
...
> Gitolite appears to understand this, yes: doing
> 
>   $ git clone git at host:foo/bar.git
> 
> creates and clones a repository.
>
> Note, however, that this scheme means your local copy will be named
> "bar", unless you take the trouble to build your own foo/ directory
> and cd to it before cloning.

I believe

  $ git clone git at host:foo/bar.git foo_bar

should work, if you prefer local directory name foo_bar.

I second Linus proposal.

/Fredrik




More information about the Tech mailing list