Push
[Concluído]

Carlos blz, ao digitar o comando: git push origin master
não faz o push para o repositorio criado no git, e tb não mostra nemhuma mensagem de erro, o que poderia ser? segui todos os passos da aula
No meu git os comandos são esse
git remote add origin https://github.com/renatoribeiromachado/apiProdutos.git git branch -M main git push -u origin main
meu nome e e-mail tb foram inseridos ao instalar o gitbash

Olá, Renato!
Tudo bem?
Certo, vou precisar de mais informações para te ajudar a identificar o problema.
Roda o comando e veja se criou o repositório remoto (print: https://pt-br.imgbb.com/):
git remote
Se clonar algum repositório remoto, dá certo?
git clone https://github.com/especializati/curso-laravel-6.git
Se não der certo o clone, confere o firewall, pode ser ele ou o antivírus que estão barrando os processos do git com o GitHub.

Deu certo aqui Carlos agora tenho esse repositorio que é a API
https://github.com/renatoribeiromachado/apiProdutos
Porem ao tentar fazer outro repositori que ira consumir da erro criei esse no git
https://github.com/renatoribeiromachado/consumirApiCurl
que ira consumir da Api
porem ao tentar o comando git
git push origin master --- para fazer o upload dos arquivos consumirApiCurl
da o seguinte erro:
Win10@DESKTOP-4IHF10U MINGW64 /d/laravel/consumirApi (master)
$ git remote add origin https://github.com/renatoribeiromachado/consumirApiCurl.git
error: remote origin already exists.
Win10@DESKTOP-4IHF10U MINGW64 /d/laravel/consumirApi (master)
$ git push origin master
To https://github.com/renatoribeiromachado/apiProdutos.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/renatoribeiromachado/apiProdutos.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.
Win10@DESKTOP-4IHF10U MINGW64 /d/laravel/consumirApi (master)

Resolvi Carlos, eu comi bola

Precisa estar logado para conseguir responder a este ticket!
Clique Aqui Para Entrar!