lh-l4v/misc/git-commit-emails/README

21 lines
599 B
Plaintext

<!--
Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
SPDX-License-Identifier: BSD-2-Clause
-->
This script takes a git repository, fetches any remote patches on the
repository, and then shoots out an email describing any new commits.
This should either be setup in cron to poll a remote repository, or---better
still---be executed by another script when a push event occurs.
One possible way or running it is as follows:
./commit-email.py \
--repo project_name \
--to mailing.list@example.com \
--from mailing.list@example.com \
./path/to/repo