When working on a feature branch in
git, I frequently need to stash my changes to commit a bug fix to the main branch. When I'm done working on the changes, I
git stash pop, which updates the timestamps on the files.
Even though the files are identical, the next time I try to save, I get:
WARNING: The file has been changed since reading it!!!
Do you really want to write to it (y/n)?
I don't want to automatically reload the file every time it changes on disk, only when I
git stash pop.
Right now, I manually reload each buffer individually (
:e). Is there any way I can do this in one command?