git how to reset a specific file to remote code example
Example: git revert file to master
## Revert file to master
If you want to revert the file to its state in master
```bash
git checkout origin/master thefile
```
## Revert file to master
If you want to revert the file to its state in master
```bash
git checkout origin/master thefile
```