1
respuesta

[Duda] AYUDA problemas con git commit

Hola chicos AYUDA tengo un un prblema desde la consola no me deja realizar el git add .

$ git add . fatal: Unable to create 'C:/Users/ALVARO BENAVIDES/OneDrive/Escritorio/ALURA-ORACLE/git-y-github/sistema-de-registro/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'. Please make sure all processes are terminated then try again. If it still fails, a git process may have crashed in this repository earlier: remove the file manually to continue.

Pero al pedir el el satado del archivo con git status me dice que tengo que pirmero hacer commit al index ? no puedo continuar con el proceso y me genera error tambien desde Visual Studio Code.

$ git status On branch main Your branch is up to date with 'origin/main'.

Changes to be committed: (use "git restore --staged ..." to unstage) modified: index.html

Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: index.html

1 respuesta

Hola Alvaro no te puedo ayudar con eso, yo me estoy encontrando con un problema para clonar, no me deja me sale este mensaje: No such file or directory. Me quede ahi, tratando de encontrar alguna solución