How to revert changes from old commit in a single file
问题 How do I revert/remove the changes done in an older multi-file commit, but only do it in a single file? I.e. something like git revert <commit-specifier> <file> except git revert does not accept <file> argument. None of the following answers addresses this problem: Git: Revert old commit on single file is rather about how to debug conflicts. Undo a particular commit in Git that's been pushed to remote repos does not address my single file issue. Git: revert on older commit also does not