autogit
saves local history automatically using git. It watches current directory, and git commit
when something changes. autogit
let you keep local history without IDE.
autogit
require fswatch
. AFAIK, it works only for OS X, so autogit
supports only OS X.
brew install fswatch
pip install autogit
Go to your project directory. It should have .git
directory.
autogit watch
Then it create new branch named autosave
and commit when git status changes. If you want to stop watching, press CTRL+C
You can manually create savepoint.
autogit savepoint
Actually, autogit watch
is same as this:
fswatch . "autogit savepoint"
I guess you can do the same using inotify
in linux.
- Portable watch command.
- Easy commands to merge savepoint commits to master branch.