You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
My first experience using gh was working with a repo that I recently renamed. In this scenario, github will respond with a 301 and include the new url in the Location header field.
Sorry for the late response. This was my first experience with node-gh so I have not tried previous versions of the tool. I encountered the problem with gh issue and gh pr but I would expect to see this issue with any command in a renamed repo.
There is a simple workaround (update your remote reference!) so I would consider this a low priority issue.
Version:
gh 1.13.5
My first experience using
gh
was working with a repo that I recently renamed. In this scenario, github will respond with a301
and include the new url in theLocation
header field.Here is a sample response:
Relevant github API docs: https://developer.github.com/v3/#http-redirects
I resolved the issue by updating the remote url in my local repo:
The text was updated successfully, but these errors were encountered: