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

No correct solution

OTHER TIPS

You can do it like this:

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

Try This....

git revert HEAD~50: .HEAD

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top