git You are in 'detached HEAD' state -- ошибка и её причина (HEAD detached at)
Primary tabs
Ошибка:
Note: checking out 'origin/...'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:git checkout -b
HEAD is now at ...
Возможные причины и решения
- Вы сделали чекаут:
git co origin/имяветки
как бы переключившись на удалённую векту, чтобы исправить ситуацию, просто переключитесь на локальную ветку:
git co имяветки
- Log in to post comments
- 3563 reads