git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: error

From
Jeff King <peff@peff.net>
Date
Oct 4, 2016, 17:27 UTC
Message-ID
<20161004172747.ho53gxs3rcfucub7@sigill.intra.peff.net>
In-Reply-To
<CAK99BNA_2hwgkLUap_ThOG8drWkP6f74hdW=SNq_DpuNW=j2ew@mail.gmail.com>
[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
Message 1 of 1 in “Re: error”
  1. Jeff KingOct 4, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.