sysutils/gitwatch 0.6
Bash script to watch a file or folder and commit changes to a git repo
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- sysutils
- Package size
- 19.2 KiB, 53.8 KiB installed
Description
A bash script to watch a file or folder and commit changes to a git repo
What to use it for?
* config files: some programs auto-write their config files, without waiting for you to click an 'Apply' button; or even if there is such a button, most programs offer you no way of going back to an earlier version of your settings. If you commit your config file(s) to a git repo, you can track changes and go back to older versions. This script makes it convenient, to have all changes recorded automatically. * document files: if you use an editor that does not have built-in git support (or maybe if you don't like the git support it has), you can use gitwatch to automatically commit your files when you save them, or combine it with the editor's auto-save feature to fully automatically and regularly track your changes.
Install
As a binary package — by origin, or by package name:
pkg install sysutils/gitwatch
pkg install gitwatch
From the ports tree:
cd /usr/ports/sysutils/gitwatch/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= gitwatch>0:sysutils/gitwatch
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.6 | 0.6 | 0.1.a.20200814 | 0.4 | 0.6 |
| FreeBSD:14:quarterly | 0.6 | 0.6 | n/a | 0.3 | 0.6 |
| FreeBSD:15:latest | 0.6 | 0.6 | n/a | 0.3 | 0.4 |
| FreeBSD:15:quarterly | 0.6 | 0.6 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.6 | 0.6 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 3
bash>0: shells/bashgit: devel/gitinotifywait: sysutils/inotify-tools
The full lists below include those, and their dependencies in turn.
All run dependencies 16
No port depends on this one.
Configuration
No options to configure.
- USES
- shebangfix
- Service scripts
gitwatch
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| gitwatch-gitwatch-v0.6_GH0.tar.gz | 35291 | 0c49fb357377479710578d82b51a71a9d306bab00adf9c6ab9dae18ee7541489 |
Commit history 0
No commits in the history this site was built from.