To return styles from a certain commit?

Good day! There was a need to return the file to the state of a particular commit.
What was done:
1. Created new branch
2. Rolled back to a certain commit
Well here is the file which you want to return to its original state and remained without change. I can forget that?
July 8th 19 at 16:22
1 answer
July 8th 19 at 16:24
To pull a file from a certain commit is enough to make
git checkout <commit> <filename></filename></commit>
gives a syntax error - brando.Will commented on July 8th 19 at 16:27
: so you need the path to the file to specify from the root of the repository turnip - devante_Quigley commented on July 8th 19 at 16:30
two minuses Meizu identification commit and file name. to be sure, never questions arose :) - Montana_Abshire commented on July 8th 19 at 16:33

Find more questions by tags GitHubGit