I am new to git and if this ques is simple then please bear me.
-
I need to use git locally (I don’t need to save my codes on server but in some another directory locally).
-
‘git log’ gives us details about all the commits made on project . If I want to see a file before a particular commit , how do i do that.
git checkout COMMIT^ -- path/to/filefor some commit hashCOMMITwill check out the version of the file from directly before that commit.