Git - Backtracking - Reset 2 -- index.lock file exists


#1

hi i cant do anything because that appear, what can i do?


#2

can you show us a screen shot of it?


#3

please could you help me =)


#4

Same here. someone needs to fix this. HELLOOO


#5

Can someone please look at this???


#6

If you still have that .git/index.lock file holding you up, you could try removing it with:

rm -f .git/index.lock

#7

That didnt help either
What helped was that I reset the very first commit.


#8

I did that and managed to reset to the second SHA commit, thus completing the assignment. But this has to be fixed. Either the instructions are incomplete or the settings are wrong. There shouldn't be any locks to remove.

Anyway, thanks you for that piece of code.