Skip to content

A UNIX micro daemon which lookups home directory, find git repositories and do periodic git fetches on them

License

Notifications You must be signed in to change notification settings

nerzhul/gitscanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A UNIX micro daemon which lookups home directory, find git repositories and do periodic git fetches on them

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published