[re-adding git@vger to the cc; please keep conversations on the list so
 everybody can benefit from the answers]

On Tue, Oct 04, 2016 at 01:13:16PM -0300, Luciano Schillagi wrote:

> I ran the command
> 
> Luko ~ $ git config --global --unset push.default
> 
> 
> and it gives me the following
> 
> warning: push.default has multiple values

Ah, OK. "--unset-all" would do the trick, but it may only be one
instance that you want to get rid of...

> I can access my file .gitconfig
> 
> I send attached...
> [...]
>
> [push]
>       default = upstream
>       default = aguas

Yep. Deleting the second line there will make your problem go away, and
presumably the first is a config setting you'd want to keep. That still
doesn't answer the question of how the "aguas" line got there, but I can
guess that at some point you might have set "push.default" instead of
"remote.pushdefault".

-Peff

Reply via email to