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

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

Previous: Björn SteinbrinkNext: Junio C Hamano
Message 18 of 23 in “What I miss from Cogito...”
  1. H. Peter AnvinMar 23, 2008
  2. Theodore TsoMar 23, 2008
  3. H. Peter AnvinMar 23, 2008
  4. Petr BaudisMar 27, 2008
  5. Luciano RochaMar 23, 2008
  6. Mike HommeyMar 23, 2008
  7. Bruce StephensMar 23, 2008
  8. Mike HommeyMar 23, 2008
  9. Florian WeimerMar 23, 2008
  10. Theodore TsoMar 24, 2008
  11. Björn SteinbrinkMar 24, 2008
  12. Theodore TsoMar 24, 2008
  13. Junio C HamanoMar 24, 2008
  14. Documentation/git-checkout: Update summary to reflect current abilitiesJulian Phillips, Mar 24, 2008
  15. Junio C HamanoMar 24, 2008
  16. Documentation/git-checkout: Update summary to reflect current abilitiesJulian Phillips, Mar 24, 2008
  17. Björn SteinbrinkMar 24, 2008
  18. Johannes SchindelinMar 23, 2008
  19. Junio C HamanoMar 23, 2008
  20. H. Peter AnvinMar 23, 2008
  21. Junio C HamanoMar 23, 2008
  22. Daniel BarkalowMar 23, 2008
  23. H. Peter AnvinMar 23, 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.