Re: What I miss from Cogito...
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 23, 2008, 18:31 UTC
- Message-ID
- <alpine.LSU.1.00.0803231930280.4353@racer.site>
- In-Reply-To
- <47E69044.3000207@zytor.com>
Hi,
On Sun, 23 Mar 2008, H. Peter Anvin wrote:
Show 13 quoted lines
> 1. The ability to clone into the current directory > > cg-clone had a -c option, which allowed cloning into the current > directory. This is particularly useful, since I keep my common > dot files in a git repository, so all I need to do to set up a new > machine is to clone that git repository over my empty home directory. > > Native git doesn't have any equivalent, other than: > > git clone -n .... tmp > mv tmp/.git . > rm -rf tmp > git checkout HEAD
Well, it has:
$ git init $ git remote add -f origin <url> $ git checkout -b master origin/master
If you really want to track /etc with Git, you can do that easily, and you can easily take the flak for a not-so-popular workflow.
Ciao, Dscho