
GitLab reinicio
Publicado por Sergio (2 intervenciones) el 20/01/2018 01:26:00
Hola. Tenía instalado gitlab en una pc y al comenzar a fallar tuve que formatear el disco. Desde la misma subía a la nube todas las modificaciones que hacía. Bien, ahora quiero seguir haciendo lo mismo desde otra pc pero instalo git nuevamente desde cero y cuando quiero subir las modificaciones me aparece:
To https://[email protected]/xx/xx.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://[email protected]/xx/xx.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.
Anteriormente lo solucioné borrando el repositorio y creando uno nuevo. Calculo que debe haber una forma menos rudimentaria.
Podrían ayudarme????
Gracias.
To https://[email protected]/xx/xx.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://[email protected]/xx/xx.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.
Anteriormente lo solucioné borrando el repositorio y creando uno nuevo. Calculo que debe haber una forma menos rudimentaria.
Podrían ayudarme????
Gracias.
Valora esta pregunta


0