I know git checkout <sha> -- <filename> will rever the given file to a given version but I want that file to be restored but not overwrite the existing file
elaboration:
- suppose i have one file
a.txt - i want to create one file
b.txtwhich is just a previous version ofa.txtfrom some other commit
if i can just read that complete version of a.txt somehow .. i can redirect it to b.txt