Closed DanielRuf closed 4 years ago
Hi,
I would like to take this on
@dhuang612 feel free to work on it.
Hey, I've done some research into this and I don't understand how I'm supposed to delete these stale branches. When I run git branch -a I see a giant list of branches
but then when I try to do git branch -d greenkeeper/@octokit/rest-16.20.0 for ex it returns error: branch 'greenkeeper/@octokit/rest-16.20.0' not found.
I was hoping I could get some help on this.
Thanks!
I have also tried various git remote prune --dry-run but they also don't find anything
You can delete with git push -d
to delete a remote branch. Or do it in the GitHub UI.
You can do that only with the right org permissions.
I don't believe I have the correct permissions setup for me to delete from the github gui, or to remove stale branches in general?
git push origin --delete greenkeeper/@octokit/rest-16.27.3
remote: Permission to cutenode/good-first-issue.git denied to dhuang612.
fatal: unable to access 'https://github.com/cutenode/good-first-issue.git/': The requested URL returned error: 403
Exactly.
so, I can't complete this?
Exactly, you can not unless you are a collaborator with write permissions.
There are a "few" branches which can be deleted:
https://github.com/cutenode/good-first-issue/branches/all