Carl Worth <cworth@xxxxxxxxxx> writes: > On Fri, 5 Jan 2007 20:53:22 +0100, "=?ISO-8859-1?Q?Santi_B=E9jar?=" wrote: >> I was talking about the default name, so you could do: >> >> $ git clone\ >> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git >> $ cd linux-2.6 >> $ git remote add \ >> git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-2.6.git >> $ git remote show libata-2.6 > > Yes. No. Because... > I'd go one further and say that it'd be really nice if git-clone could > be seen as equivalent, (and basically equivalent internally), to a > simple sequence of steps that could be performed manually. Something > like: > > name=$(basename $url) > mkdir $name > cd $name > git init-db > git remote add $url > git pull $name you could say "git remote add $name $url" here, having computed $name already. But you guessed what I was driving at right ;-). - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html