Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
```
 
PREVIOUS NEXT
Tagged: #git #revert #file #master
ADD COMMENT
Topic
Name
1+8 =