Transfer all repos from a GitHub user to another.
- Node & Npm
- Crate a new token with the permissions to transfer a repo - In GitHub,
Settings > Developer Settings > Personal Access Tokens
- Copy the
.env.example
file to.env
- Update variables
- Copy
repos.example.txt
file torepos.txt
- Add name of your repos.
- Run commands
npm install node transfer.js
- If nothing is shown in the console, it means that everything went well.
- You should receive emails asking to click on a link to confirm the transfer.
- Log into the receiving GitHub account in a browser and open links in this browser.