GIT: Can't Push (Странная проблема с конфигурацией)

Я на новой установке Linux Mint.

Я получаю следующую ошибку при попытке нажать из любого хранилища:

error: Malformed value for push.default: simple
error: Must be one of nothing, matching, tracking or current.
fatal: bad config file line 8 in /home/leng/.gitconfig
fatal: Could not read from remote repository.

Это очень странно, потому что у меня определенно есть версия, которая поддерживает простое поведение push.

Выход изgit --version являетсяgit version 1.8.3.2.

Содержание~/.gitconfig:

[user]
    name = My Name
    email = [email protected]
[color]
    ui = true
[push]
    default = simple

Вот где это становится жутким.

Если я изменю поведение наmatching (или дляnothing, tracking, или жеcurrent, в этом отношении), затем попытка нажать, я получаю точно такое же сообщение об ошибке. Как это возможно? Это как-то кеширует конфиг? Я даже пытался перезагрузиться. Я даже пытался полностью очистить GIT от системы (и удалить~/.gitconfig) затем переустановите его.

Если я удалю[push] полностью раздел из файла .gitconfig (или если я полностью удаляю файл), затем попробуйте нажать, затем я получаю это:

Git 2.0 from 'matching' to 'simple'. To squelch this message
and maintain the current behavior after the default changes, use:

  git config --global push.default matching

To squelch this message and adopt the new behavior now, use:

  git config --global push.default simple

See 'git help config' and search for 'push.default' for further information.
(the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

error: Malformed value for push.default: simple
error: Must be one of nothing, matching, tracking or current.
fatal: bad config file line 8 in /home/leng/.gitconfig
fatal: Could not read from remote repository.

... так что, похоже,обе признавая, что я не выбрал толкающее поведение, но затем также сказал, что я выбрал неподдерживаемое поведение. Что здесь происходит?

Я даже получаю ошибку, если удаляю~/.gitconfig полностью.

Кто-нибудь может мне помочь с этим колдовством?

Спасибо!

РЕДАКТИРОВАТЬ:

Вот.git/config запрашиваемый файл:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = ssh://{my remote repo}
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

Ответы на вопрос(3)

Ваш ответ на вопрос