Foto de Miguel A.
Miguel há 3 anos
Enviada pelo
Site

Problema no git e github

Estou com uns conflitos no git que que estão me impedindo de de mandar meus prs para o GitHub. Esse é o erro: miguel@DESKTOP-L7CUOGC MINGW64 ~/Desktop/praticando comandos/barros-Miguel-Martins (master|MERGING) $ git status On branch master Your branch and 'origin/master' have diverged, and have 1 and 1 different commits each, respectively. (use "git pull" to merge the remote branch into yours) All conflicts fixed but you are still merging. (use "git commit" to conclude merge) Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: modulo1/operadores/template_javascript (1)/template_javascript/index.html modified: modulo1/operadores/template_javascript (1)/template_javascript/index.js modified: modulo1/variaveis/template_javascript/template_javascript/index.js Untracked files: (use "git add ..." to include in what will be committed) modulo1/funcoes/ modulo1/strings-arrays/ praticando-comandos/ miguel@DESKTOP-L7CUOGC MINGW64 ~/Desktop/praticando comandos/barros-Miguel-Martins (master|MERGING) $ git pull error: You have not concluded your merge (MERGE_HEAD exists). hint: Please, commit your changes before merging. fatal: Exiting because of unfinished merge.
1 resposta
Professora Ariana V.
Respondeu há 2 anos
Contatar Ariana
Tem alguma coisa no seu repositório remoto que não está no seu repositório local, vc pode dar o git pull pra atualizar o repositório local, e depois da o git push pra subir tudo

Um professor já respondeu

Envie você também uma dúvida grátis
Ver resposta
Tire dúvidas com IA
Resposta na hora da Minerva IA
Enviar dúvida
Minerva IA
do Profes
Respostas na hora
100% no WhatsApp
Envie suas dúvidas pelo App. Baixe agora
Prefere professores para aulas particulares ou resolução de atividades?
Aulas particulares
Encontre um professor para combinar e agendar aulas particulares Buscar professor
Tarefas
Envie sua atividade, anexe os arquivos e receba ofertas dos professores Enviar tarefa