1
resposta

[Dúvida] ERRO AO FAZER GIT PUSH

ME AJUDEM POR FAVOR!!!

To github.com:RoneySaint/portifolio.git ! [rejected] main -> main (non-fast-forward) error: failed to push some refs to 'github.com:RoneySaint/portifolio.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. If you want to integrate the remote changes, hint: use 'git pull' before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.

1 resposta

Oi Roney!

Esse seu repositório no GitHub não é um repositório vazio e recém-criado: https://github.com/RoneySaint/portifolio

É um repositório existente e que já tem arquivos e commits. Talvez você tenha configurado esse repositório existente no seu repositório local do projeto do curso e isso vai causar problemas, pois são projetos diferentes.