I am using Atom editor on Windows 7. On the git shell when I run the command, git reset --hard
, all the other editors reset/undo all the modified files. but if I am using ATOM editor, changes are retained. If I try to close the file in editor, Atom ask, file is changed, do you want to save the changes.
How can I force Atom to undo changes when files are modified externally.
According to https://discuss.atom.io/t/auto-reload-changed-files/8451/6, FileWatcher is an Atom package which will do what you want.