From: Matthieu Moy Date: Thu, 10 Sep 2009 18:54:17 GMT Subject: Re: obnoxious CLI complaints Message-ID: In-Reply-To: <20090910013235.GA9980@atjola.homenet> Björn Steinbrink writes: > On 2009.09.09 14:27:56 -0700, Brendan Miller wrote: >> 8. There's no obvious way to make a remote your default push pull >> location without editing the git config file. Why not just something >> like >> >> git remote setdefault origin > > Because "git remote" is the wrong tool. The default remote for > fetch/push is configured per branch head, not globally. (the --track option of git branch and git checkout can help). -- Matthieu Moy http://www-verimag.imag.fr/~moy/