Когда я хочу нажать github, выдайте эту ошибку
гитхаб
PS D:\projects\assignment-11> git commit -m"fake data removed"
[main d671435] fake data removed
9 files changed, 80 insertions(+), 71 deletions(-)
create mode 100644 src/media/no-item.png
! [rejected] main -> main (fetch first)
error: failed to push some refs to 'https://github.com/ProgrammingHeroWC4/warehouse-management-client-side-ifty03.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first 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.
В сообщении говорится, что вы должны сделать. git pull
, объединить изменения, затем git push
Сообщение об ошибке очень ясное.