No commit activity in last 3 years
No release in over 3 years
Finds the repos that you forked that can be safely deleted
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.0
 Project Readme

compulsive-forks

This gem lists the repositories that you've forked where either the upstream has merged all of your changes or you haven't pushed any code (no judgement :smile:).

The settings URL will be printed for repositories that can be deleted. Pipe to open or xdg-open to open in GitHub.

Installation

$ gem install compulsive-forks

Usage

You must have a personal access token from GitHub to use this gem. This avoids rate limits associated with non-authenticated requests. No specific scopes are necessary for your public repos, but include the "repo" scope if you want to check for private repository forks.

List all of your personal merged/duplicate forks:

$ compulsive-forks -t my-token

Open merged forks in the browser:

OS X:

$ compulsive-forks -t my-token | xargs -n 1 open

Linux:

$ compulsive-forks -t my-token | xargs -n 1 xdg-open

List them for an organization (in this case doximity)

$ compulsive-forks -t my-token -o doximity

Be extra verbose (helps show progress)

$ compuslive-forks -t my-token -v -v