3
respuestas

No sube mi trabajo a git hub

Buenas noche, consulta que puede ser que estoy haciendo mal. no me deja subir mi desafio terminado ya cree la cuenta https://github.com/jordanpare/desafioJS.git Ingrese aquí la descripción de esta imagen para ayudar con la accesibilidad

$ git push origin main To https://github.com/jordanpare/desafioJS.git ! [rejected] main -> main (fetch first) error: failed to push some refs to 'https://github.com/jordanpare/desafioJS.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.

unico@LAPTOP-CQSOK8NT MINGW64 /c/proyecto-chllenge1 (main) $

3 respuestas

Hola buen dia:

-Primero: Clonaste el repositorio en tu local? -segundo: realizaste los dos "comandos Basicos" que anteceden el push? (por si no os sabes investigalos y si los hiciste, paso tres) -Tercero: la direccion que colocas termina en .git, pero al entrar al repositorio esa no es tu dirección. -cuarto: Hay una forma para no estar digitando tantas veces origin master, tambien te muestro esa puerta para que la investigues.

Humildemente te dejo mis observaciones. Si luego de verificar y validar lo anterior, aun te sigue presentando problemas, comentas y vemos que hacemos.

hola jesus cuando hago git add . me es siguiente mensaje hint: core.useBuiltinFSMonitor will be deprecated soon; use core.fsmonitor instead hint: Disable this message with "git config advice.useCoreFSMonitorConfig false"

no entiendo porque me sale como main y no master