Я пытаюсь отправить свой проект django на Gihub.
Я установил Github для Windows и Git CLI
и выполнил все шаги
- Сначала создал репозиторий на github с файлом ReadMe (по умолчанию)
- Создал одно простое приложение django
- git инициировать
- git добавить .
- git commit -m "Первая фиксация"
- git удаленное добавление источника https://github.com/eMahtab/DjangoProject.git
- мастер происхождения git push
Но на последнем шаге я получаю ошибку
To https://github.com/eMahtab/DjangoProject.git
! rejected master -> master (fetch first)
error: failed to push some refs to https://github.com/eMahtab/DjangoProject.git
hint: Updates were rejected because the remote contains work that you do not have
locally. This is usually caused by another repository pushing to the same ref. You may
want to first integrate the remote changes (e.g., git pull ...) before pushing again.
See the Note about fast-forwards in git push --help for details.