"Shawn O. Pearce" <spearce@spearce.org> writes:It is not. The "git remote add" thing adds this to my .git/config: [remote "origin"] url = /tmp/git1 fetch = +refs/heads/*:refs/remotes/origin/* While clone normally does a bit more: [remote "origin"] url = /tmp/git1/.git fetch = +refs/heads/*:refs/remotes/origin/* [branch "master"] remote = origin merge = refs/heads/master So, it's really $ git remote add origin url $ $EDITOR .git/config # or perhaps I missed the way to set the two # options easily. I find it so conveinient to have it for non-empty clones, it's frustrating to have to do it by hand for empty clones. -- Matthieu - 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
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree |
| Alexander Sulfrian | [RFC/PATCH] RE: git calls SSH_ASKPASS |
