# Removing changes not added to staging
If you have accidentally made changes to a repository and would like to remove them, _and_ you have not yet added them to the staging area, run the following command:
```bash
git checkout head src/data/markdown/posts/2021-09-16--september-product-update/index.md
```
You should see a message similar to this one:
```bash
Updated 1 path from 11c68e8
```
When you do a `git status`, you should see that the relevant file has been removed.