On Thu, Sep 22, 2016 at 08:02:35PM -0300, Luciano Schillagi wrote:

> 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
  • error Luciano Schillagi
    • Re: error Jeff King

Reply via email to