No description
Find a file
2018-10-22 12:06:57 +00:00
.gitignore initial commit 2018-06-06 16:19:08 +02:00
get-my-repos.sh initial commit 2018-06-06 16:19:08 +02:00
LICENSE initial commit 2018-06-06 16:19:08 +02:00
migrate.sh initial commit 2018-06-06 16:19:08 +02:00
README.md Update README.md 2018-10-22 12:06:57 +00:00

Point GH users to your new repository place

⚠️ BE SURE TO HAVE A BACKUP OF ALL YOUR REPOSITORIES FIRST ⚠️

You have copied all your GitHub repositories and you want to redirect your user to your new page?

This is exactly what this repo is for.

See an example of the result:

https://github.com/yogsototh/asciimandel

⚠️ These shell scripts were done in a hurry, so use them with care!

  1. Clone this repository and go into it

  2. retrieve all your repositories (NB_PAGES is only mandatory if you have more than 100 repositories) So if you have 281 repositories, you'll need 3 pages to list them all.

    ./get-my-repos.sh YOUR_GITHUB_USER_NAME NB_PAGES
    
  3. One last chance not to overwrite and destroy some repositories. Edit the file repos-urls and remove the lines of the repositories you wan to keep on GitHub.

  4. Really start the migration

    ./migrate.sh PREFIX_OF_DESTINATIONS
    

    for example

    ./migrate.sh https://gitlab.esy.fun/yogsototh
    

Now all thoses repositories in github have been overwritten. And there will be a simple message to tell your user where they'll be able to find it.