Skip to content

Commit 8be1391

Browse files
authored
More help text for repository moved case (#296)
1 parent 7d84a20 commit 8be1391

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ghstack/github_real.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ def rest(self, method: str, path: str, **kwargs: Any) -> Any:
224224
https://{github_url}/settings/tokens and DOUBLE CHECK that you checked
225225
"public_repo" for permissions, and update ~/.ghstackrc with your new
226226
value.
227+
228+
Another possible reason for this error is if the repository has moved
229+
to a new location or been renamed. Check that the repository URL is
230+
still correct.
227231
""".format(
228232
url=url, github_url=self.github_url
229233
)

0 commit comments

Comments
 (0)