gitriddance(1)

πŸ“¦ version 1.20200721, in ubuntu jammy

πŸ’– gitriddance(1) πŸ’–

okay so bestie, welcome to the General Commands Manual page for gitriddance β€” she's a lil command-line queen and she's about to clean house πŸ’…


✨ NAME ✨

gitriddance β€” closes all open issues and pull requests 🧹✨


🌸 SYNOPSIS 🌸

gitriddance [comment]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: gitriddance closes all open issues and pull requests on GitHub. periodt. every single one, gone, bye πŸ‘‹

and like, why would you even want that? well, it's genuinely useful for projects that have their own issue trackers, patch submission systems etc., instead of relying on GitHub's own ones β€” which, ngl, many of us find to be clumsy, slow, proprietary, and honestly just encouraging of drive-by pull requests of poor quality 😭 like the audacity fr fr

so you run it in a git repository that was cloned from GitHub. it peeks at the origin remote to find the repository on GitHub β€” that's how it knows where to go πŸ•΅οΈβ™€οΈ Then all open issues and pull requests will have a comment posted to them, and be closed. both things. comment first, then close. iconic behaviour tbh πŸ‘‘

the text of that comment is either passed as a command-line parameter, or you can configure it by setting core.gitriddance. for example:

git config core.gitriddance "Please submit patches to
http://ikiwiki.info/todo/"

(yeah that's a literal newline in there, she's multi-line, she contains multitudes πŸ’œ)

and here's the important bit, bestie, don't skip this: in order for gitriddance to log into GitHub, you need to set GITHUB_OAUTH_TOKEN to an oath or personal access token πŸ”‘ no token, no login, no riddance. that's just how it is.


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <id@joeyh.name>


that's the whole page, no notes πŸ’– she's short, she's sweet, she closes your issues. main character energy only.

okay bye bestie, this was the gitriddance(1) page from the Commands manual section β€” thanks for reading, mwah πŸ«ΆπŸ’…πŸŒΈ

πŸ“¦ where this page comes from