Subject: Re: obnoxious CLI complaints

From: Matthieu Moy <[email-masked]>
Date: Thu, 10 Sep 2009 20:54:17 +0200

Björn Steinbrink <[email-masked]> 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/