Github unable to reopen a closed pull request

Posted by Jason Noble on 09/11/2012 in Uncategorized |

Ran into an interesting issue at work today. My pair (Dave) and I opened a pull request yesterday and I checked the status this morning. It showed that Dave had closed it this morning. I asked him if he had intended to merge it, and he said he hadn’t closed it.

The weird thing was that when looking at the pull request, reopening the pull request was not an option. I had not seen that before, so I started asking around.

So, long story short, it turns out that Dave was cleaning up his branches and accidentally deleted the branch that the pull request was based on. This caused Github to close the pull request because the branch it was based on no longer existed.

I fixed this by re-pushing the branch and refreshing the pull request page. At that point, I had the ability to re-open the pull request.

Copyright © 2008-2024 Jason Noble's Technical Adventures All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from