При попытке нажать фиксации к оголенному удаленному хранилищу Я получаю следующее сообщение об ошибке:Голые репо: Не все рефы были вытеснены
Push: Not all refs have been pushed. 'master' rejected (non-fast-forward)
refusing to update checked out branch: refs/heads/master. By default, updating
the current branch in a non-bare repository is denied, because it will make
the index and work tree inconsistent with what you pushed, and will require
'git reset --hard' to match the work tree to HEAD.
You can set 'receive.denyCurrentBranch' configuration variable to 'ignore' or
'warn' in the remote repository to allow pushing into its current branch;
however, this is not recommended unless you arranged to update its work tree
to match what you pushed in some other way.
To squelch this message and still keep the default behaviour, set
'receive.denyCurrentBranch' configuration variable to 'refuse'.
error: failed to push some refs to 'server'
Я исследовал ошибку, и это, кажется, предположить, что репозиторий, на который я нажимаю, не голый, что не так. Может ли это быть проблемой с git? Я использую клиент SmartGit.
Я также попытался вытащить из удаленного репо, что не имеет никакого эффекта.
Вы уверены, что дистанционное репо является голым? Если у вас есть доступ к серверу этого удаленного репо, что бы вернуть 'git config -bool core.bare' при его выполнении? – VonC