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

Re: error

From
Jeff King <peff@peff.net>
Date
Sep 23, 2016, 04:46 UTC
Message-ID
<20160923044634.mkqyal4cgss5js2p@sigill.intra.peff.net>
In-Reply-To
<15EA3A56-BAE8-4FAF-B277-9628307899AF@gmail.com>
On Thu, Sep 22, 2016 at 08:02:35PM -0300, Luciano Schillagi wrote:
Show 7 quoted lines
> please, what should I do to fix this error? thanks
> 
> Luko ~ $ git init
> error: malformed value for push.default: aguas
> error: Must be one of nothing, matching, simple, upstream or current.
> fatal: bad config variable 'push.default' in file '/Users/imac/.gitconfig' at line 16
> -bash: __git_ps1: command not found
Your config file has a bogus value in it.  Try:
  git config --global --unset push.default

Or you may want to simply edit /Users/imac/.gitconfig by hand. It is not clear where the bogus value came from, but possibly the file is corrupted in some way (so you are better off examining it first before asking git to blindly change it).

-Peff
Previous: Luciano Schillagi
Message 2 of 2 in “error”
  1. Luciano SchillagiSep 22, 2016
  2. Jeff KingSep 23, 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.