threads / discuss / 44220

Re: error

Subject: Re: error

## tl;dr

One message between Oct 4, 2016 and Oct 4, 2016.

replies: 0people: 1as markdown or json

Jeff King· Oct 4, 2016, 17:27 UTC · lore
[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:
Show 8 quoted lines
> 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...

Show 8 quoted lines
> 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

← back to recent threads