Answer the question
In order to leave comments, you need to log in
How to set the path to a file in git?
Can you please tell me how to write the path?
For example, I have a main folder in which git is initialized and in the same folder there is an app folder in it index.html.
For example, I want to roll back changes to this file, how can I set the path to it?
git --cheackout file path ?
Total two questions
Please tell me how to move to the file in general and back to the folder with the git?
Well, how to write the actual path to the file?
Answer the question
In order to leave comments, you need to log in
git status
will show all paths to files that can be checked out (if there are changes)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question