Question

I am having one file in git and committed many times. Now i have to find the 50th revision of that file in git. I tried a lot but i didn't get. So kingly help me with the git command.

Thanks in advance

Pas de solution correcte

Autres conseils

You can do it like this:

$ git show HEAD~50:path/to/file

Try This....

git revert HEAD~50: .HEAD

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top