Git reset single file in feature branch to be the same as in master [duplicate] September 19, 2022 by Tarik If you want to revert the file to its state in master: git checkout origin/master [filename]