Answer the question
In order to leave comments, you need to log in
How to debug git checkout?
It is necessary to return the file to the state of the old commit, I do git checkout коммит путь/до/файла
it and nothing happens, the file does not change and is git status
empty. How to understand what is the problem?
UPD: I
made git checkout
another file with the same commit, this file did not change, but it showed git status
that this file was not added to the index for commit, and that the same file was already ready for commit .. As a result, I did it git add --all
, git status
now empty, but it showed warirng about CRLF will be replaced by LF...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question