понедельник, 17 января 2011 г.

Проблема c push в git

Недавно я столкнулся со следующей проблемой в git:
$ git stash
$ git checkout -b secbranch
$ git shash pop
$ git push

error: failed to push some refs to 'git@git.assembla.com:myspace.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes before pushing again.  See the 'Note about
fast-forwards' section of 'git push --help' for details.

$ git push origin +HEAD:HEAD
И все заработало нормально.)

Комментариев нет:

Отправить комментарий