forgit
is a tool that automatically git commits to a repo at a given
time interval (24hrs by default) if tracked files have changed.
- With pipx:
pipx install git+https://github.com/roboto84/forgit.git
or
- Local build with poetry:
git clone https://github.com/roboto84/forgit.git
cd forgit
poetry install
-
With pipx
forgit
-
With poetry
poetry run forgit
Flag | Title | Description | Use |
---|---|---|---|
-h |
help | Show help menu. | forgit -h |
-v |
version | Show forgit version. |
forgit -v |
-p |
persist | By default Forgit clears the terminal on each status refresh. Set -p to disable this feature. |
forgit -p |
-d path |
directory path | Git directory to manage. Default: ./ |
forgit -d /home/projectA |
-i time |
interval time | Interval to check the given git repository for a possible auto-commit. Default: 24h |
forgit -i 10h |
-m message |
commit message | Git commit message. Default: auto-commit |
forgit -m "My commit message." |
Git commits follow Conventional Commits message style as explained in detail on their website.
forgit icon created by Parzival’ 1997 - Flaticon