Closed thehedgefrog closed 2 years ago
Update - I have confirmed the same results with a private and public repo under my personal account, ruling out permissions issues with gh
.
Update 2: the Deleted branches
section shows the error There are no branches in the current directory
.
Thanks for the report! What you have reported seems to be a normal operating environment, so we will need more information. You may be able to find the cause of the problem by asking us to check if it works in the following normally operating repositories in your environment.
git clone git@github.com:seachicken/can.git
cd can
for branch in $(git branch --all | grep '^\s*remotes' | egrep --invert-match '(:?HEAD|main)$'); do git branch --track "${branch##*/}" "$branch"; done
gh poi
So this test worked fine and I got the expected output per your screenshot.
I tried a test on my own and it still doesn't work. You can clone and test my repo: thehedgefrog/poi-test
It seems to not work well when merging PRs with "Merge pull request". I will fix this.
Thanks for the great report! I believe it has been fixed and will be released soon
I have 18 local branches and 8 remote branches, every single one (except
main
) having been merged intomain
via a pull request.When I run
gh poi
in the repo, all branches show inNot deleted branches
and nothing is deleted.It is a public organization repo for an organization including only me. I have confirmed all other
gh
commands and extensions work as designed.Your Environment
gh --version
): 2.7.0gh extension list
): 0.4.0