Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with index.lock file #703

Closed
cunhazera opened this issue Mar 23, 2016 · 16 comments
Closed

Problem with index.lock file #703

cunhazera opened this issue Mar 23, 2016 · 16 comments

Comments

@cunhazera
Copy link

Everytime I kill a proccess at my bash console I have to delete the index.lock file.

Full message:

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
@dscho
Copy link
Member

dscho commented Mar 24, 2016

Could you test this after replacing the msys-2.0.dll file with the one from http://repo.msys2.org/msys/x86_64/msys2-runtime-2.5.0.16933.bc14e45-1-x86_64.pkg.tar.xz?

@cunhazera
Copy link
Author

In which dir is the msys-2.0.dll file ?

@dscho
Copy link
Member

dscho commented Mar 30, 2016

In which dir is the msys-2.0.dll file ?

<GIT>\usr\bin

@dscho dscho added the unclear label Mar 30, 2016
@cunhazera
Copy link
Author

I forced the error and it still happens

@dscho
Copy link
Member

dscho commented Mar 30, 2016

I forced the error and it still happens

Do you mean with the msys-2.0.dll file from the indicated archive? Please talk to me.

@cunhazera
Copy link
Author

Correct.

@cunhazera
Copy link
Author

For example

checkout

@cunhazera
Copy link
Author

I can git status and diff, but I can't checkout any file.

@dscho
Copy link
Member

dscho commented Mar 31, 2016

How do you kill the processes?

@cunhazera
Copy link
Author

Ctrl + C

Let me explain this error: I tryed to git checkout a jar that was running at my server, but it sent me a message saying that I could not checkout the file, because it was running. Ok, no problems.
But when I killed the process git didn't let me checkout anything anymore unless I delete the index.lock file.

@cunhazera
Copy link
Author

OBS: I can not use that dll that you sent me, it generates problem to find the ssh path when I pull something.

@dscho
Copy link
Member

dscho commented Apr 2, 2016

OBS: I can not use that dll that you sent me, it generates problem to find the ssh path when I pull something.

Why make it sooooo hard for me? Why not paste the error message? This description tells me nothing.

@cunhazera
Copy link
Author

Could not create directory '/home/myuser/.ssh'.
The authenticity of host 'myrepo (ip)' can't be established.
ECDSA key fingerprint is...
Are you sure you want to continue connecting (yes/no)? fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

@cunhazera
Copy link
Author

Sorry :)

@dscho
Copy link
Member

dscho commented Apr 4, 2016

Are you sure that you only run a git status or git log when you get that error message?

Seriously, this entire ticket gets more and more, not less, confusing. Very random, like, and pretty much everything you say is just one or two words, expecting me to read your mind. I am crap at reading minds, and frankly, this game gets a little old.

@cunhazera
Copy link
Author

I agree with you.
Well, Im going to close this issue, this is not a big trouble.
Thank's for trying help, see you.

dscho added a commit to dscho/git that referenced this issue Dec 10, 2024
)

This is a companion to git-for-windows#702: Instead of storing the token used for the
Homebrew release workflow, let's retrieve it from the Key Vault that
already is used to store such information.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants