diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -6,11 +6,13 @@ is altered. ## Usage -Add `alias task=/path/to/task-git/task-git.sh` to your `.bashrc` or -`.profile`, and run `chmod +x /path/to/task-git/task-git.sh`. +1. Navigate to your Taskwarrior data directory (usually in `~/.task`) and type `git init`. If you plan to push to a remote, go ahead and add your remote now. +2. Add `alias task=/path/to/task-git/task-git.sh` to your `.bashrc` or +`.profile`. If you want to push to a remote, then the alias should be `alias task=/path/to/task-git/task-git.sh --task-git-push`. Make sure you source the `.bashrc` or `.profile`. +3. Run `chmod +x /path/to/task-git/task-git.sh`. +4. Use `task` as normal; when run, the Taskwarrior database files will be committed to version control. -Backups are generated alongside the existing `.task` database in a new directory -called `.task.bak`. +It is recommended to use the Taskwarrior database only on one machine, as you will be resolving conflicts if using one multiple machines. ## License |