Ошибка git при push

Из-за того, что комитил с разных машин, что-то на путал с комитами. В итоге мне сейчас чтобы сделать push предлагается сделать pull request, но мне этого делать нельзя, потому что в сети старая версия проектов и получится куча конфликтов. Как в такой ситуации лучше сделать?

git push origin main
To https://github.com/Voloodya/voteCollector.git
 ! [rejected]        main -> main (non-fast-forward)
error: failed to push some refs to 'https://github.com/Voloodya/voteCollector.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

Ответы (1 шт):

Автор решения: SeryiBANANAN

Написано же в консоли:

hint: "git pull ..."!

То есть нужно сделать:

$ git pull
→ Ссылка