https://github.com/nerzhul/gitscanner
A UNIX micro daemon which lookups home directory, find git repositories and do periodic git fetches on them
https://github.com/nerzhul/gitscanner
bsd cpp11 git linux
Last synced: about 2 months ago
JSON representation
A UNIX micro daemon which lookups home directory, find git repositories and do periodic git fetches on them
- Host: GitHub
- URL: https://github.com/nerzhul/gitscanner
- Owner: nerzhul
- License: bsd-2-clause
- Created: 2017-05-24T12:45:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T12:58:46.000Z (about 9 years ago)
- Last Synced: 2024-12-28T01:14:11.286Z (over 1 year ago)
- Topics: bsd, cpp11, git, linux
- Language: C++
- Size: 11.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitScanner
Gitscanner is a small tool which scan your homedir and use your SSH_AUTH_SOCK to fetch
automatically your local repository remotes and keep them update-to-date.
It's written in C++11 and under BSD 2 clauses license.
# Command line options
* __-d__: daemon mode. Run process in background
* __-i __: how many time to sleep between 2 scans (default: 60sec)
# Signals handled
* __SIGINT__, __SIGTERM__: terminate program after a finished scan or when program is sleeping.
* __SIGHUP__: awake sleeping program
# Next features
At this moment, gitscanner only fetches remotes on all repositories. It's planned to add
* local branch pull (rebase) if no uncommited files are present