I am using Sublime text and a Github plugin.
When I tried to Commit and Sync it reverted all my files to the version in the online (from three days ago).
The
The problem is that you might not have added your modification to the index before making:
It is always preferable, in case of trouble, to fallback to the command line and check:
git status
to see where you currently are after the sync,git reflog
, to see if there is any old commit with a timestamp that could indicate one that you did,git fsck --full --unreachable --no-reflog
, to see if you had added anything to the index that might be restored.