Repository Import Failed multiple times - It used to work #183564
-
Select Topic AreaQuestion BodyI am far from an expert (not even mediocre) at this and have managed to muddle my way through GitHub the past few years by importing an existing repository to a new one (for the new year). I would simply import last year's repository and change the repository name to a new year. When I tried to do the import this year, I got the message: The following error occurred: An error occurred in the git source migration. I thought perhaps that repository was problematic in some way so I tried another year. Again, I got the failure message. This is a volunteer project (a website) and I do not get any sort of payment. I use only GitHub, not command-line GIT. Is there anyone who could take a look at this and steer me in the right direction? Any suggestions would be much appreciated! Thanks! Marz |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
@McGillHeritage Your “import” is failing because you’re trying to import a GitHub Pages website URL, not a Git repository. This won’t work:
Do this (no command line needed):
|
Beta Was this translation helpful? Give feedback.
@McGillHeritage Your “import” is failing because you’re trying to import a GitHub Pages website URL, not a Git repository.
This won’t work:
https://mcgillheritage.github.io/2024 (website)
But GitHub Import needs the repo URL, like:
Do this (no command line needed):
Open the repo you want to copy on GitHub: https://github.com/mcgillheritage/2024
Create the new year repo using one of these UI options:
If it’s your repo: click “Use this template” (best if enabled), or
Go to Settings → General → Template repository (enable it), then Use this template, or
Settings → Danger Zone → Transfer/Archive isn…