Recovering wiki after renaming GitLab repository

I’ve recently renamed my GitLab repository but noticed it deleted my wiki at the same time.

Unfortunately I did not save a copy of the wiki before renaming the repository, I’ve also tried testing the old wiki url but it redirects me to the renamed repository (empty) wiki.

Anyone got any ideas of how I can recover it?


Recovered the wiki by following these steps:

  1. Rename the new repository back to the old name
  2. Clone the wiki.
  3. Rename the repository to the new name.
  4. Clone the new (empty) wiki.
  5. Copy .md files across in local wiki and push to new remote wiki.

Hope this helps anyone who comes across this exact issue.