Cleans up old and inactive forks on your GitHub account.
You'll need to create a personal access token with repo
and delete_repo
permissions.
Then, download the latest release and execute the binary as in:
./fork-cleaner --token "my github token"
Fork-Cleaner will show you all your forks, you can then check which you want to delete or not on a TUI:
On macOS:
brew install fork-cleaner
On Linux:
snap install fork-cleaner
Or download one of the archives from the releases page.