Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro ao executar push no repositório remoto

Criei o repositório local e remoto com sucesso.

Tentei executar o push usando tanto

git push origin master

como

git push -u origin master

Ocorre o mesmo erro:

$ git push -u origin master
To https://github.com/caetanoc/curso-git.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'https://github.com/caetanoc/curso-git.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.

Obrigado!

1 resposta
solução!

Talvez este link ajude:

http://www.guj.com.br/t/erro-ao-enviar-arquivos-para-o-github/343259/6

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software