- Create git repo
mkdir notes && cd notes && git init
- Copy
note.py
(with or without the.py
file extension) into git repo - Run
./note --new My First Note
to create a new note - Run
./note --save
to commit.
Optional steps:
- Set
EDITOR
and do./note --new --open ...
to immediate open the new note in your editor - Create a private repo on git remote service (e.g. GitHub, GitLab, etc.) and set that as remote
origin
.- This means you can do
./note --save --push
to immediately commit and push the new commit to the remote.
- This means you can do
- Observe
./note --help
for more quirks and features.