.\" -*- nroff -*-
.TH gitriddance 1 "Commands"
gitriddance \- closes all open issues and pull requests
.B gitriddance [comment]
closes all open issues and pull requests on GitHub. This is useful for
projects that have their own issue trackers, patch submission systems etc,
rather than relying on GitHub's, which many of us find to be clumsy,
slow, proprietary, and encouraging of drive-by pull requests of poor quality.
It should be run in a git repository that was cloned from GitHub. It
looks at the origin remote to find the repository on GitHub. All open
issues and pull requests will have a comment posted to them, and be closed.
The text of the comment is either passed as a command-line parameter,
or can be configured by setting core.gitriddance. For example:
git config core.gitriddance "Please submit patches to http://ikiwiki.info/todo/"
In order for gitriddance to log into GitHub, you need to set
GITHUB_OAUTH_TOKEN to an oath or personal access token.
Joey Hess <firstname.lastname@example.org>