Suppose my last commit includes 6 files A, B, C, D, E, F. Now I only want to revert changes of only file B.
I have committed my whole project in git. My commit id is 41e6150
. There are many files in my commit after the last commit but I want to only revert changes of specific file say X. how can I do that?