«Git init» не удалось, что не так?
Эта проблема отличается от & quot;Неправильный файл конфигурации git .git / config& quot ;, поскольку это не помогло при использованииgit init
.
Кажется, в /home/mirror/.gitconfig нет ничего плохого:
[mirror@home php]$ git init
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/mirror/.gitconfig
Это содержимое ~ / .gitignore:
cat ~/.gitconfig
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
[user]
email = [email protected]
name = xxxxx
[push]
default = simple