@invex
Верстаю

Почему выдает ошибку 'failed to push some refs'?

При вводе этой команды: git subtree push --prefix dist origin gh-pages
Вылетает ошибка:
git push using: origin gh-pages
git: 'credential-manager-core' is not a git command. See 'git --help'.
git: 'credential-winstore' is not a git command. See 'git --help'.
git: 'credential-manager-core' is not a git command. See 'git --help'.
git: 'credential-winstore' is not a git command. See 'git --help'.
To https://github.com/invex0811/salary.git
! [rejected] ae55975dba5f8655c344328e5175d4d34b04e7bd -> gh-pages (non-fast-forward)
error: failed to push some refs to 'https://github.com/invex0811/salary.git'
hint: Updates were rejected because a pushed branch tip is behind its remote
hint: counterpart. Check out this branch and integrate the remote changes
hint: (e.g. 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Уже и клонировать пробовал и пулить, нечего не помогает (
  • Вопрос задан
  • 622 просмотра
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы