Skip to content

ericanderson/ghouls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ghouls

The ghouls can help you.

Getting started

Install

yarn global add ghouls

Configure

Create ~/.config/ghouls.config.json:

{
    "username": "github-username",
    "token": "github-personal-access-token",
    "baseUrl": "https://ghe.local/api/v3"
}

Prune pull request branches

Run: ghouls prunePullRequests --dry-run myorg/myrepo

$ ghouls prunePullRequests myorg/myrepo
#1871 - Deleting remote: heads/fix/fe-nits
#1821 - Deleting remote: heads/fix/collaborator-search
#1799 - Deleting remote: heads/fix-yarn-for-1.24
#1758 - Skipping remote: heads/ml/search-polish (mismatched refs)
...

About

👻 the ghouls can help you 👻

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published