Because the Git repository currently in use is about to become unavailable, the repository code needs to be migrated to a new Git repository. The specific procedure is as follows:
- Log in to the new repository and create a repository.
After creation, the new repository address is: http://gitlab.your-new-domain.com/project.git
- Clone the old repository as a mirror locally:
| |
- Push the mirror to the new repository
| |
Tips:
Update all repositories in the current directory
fetch_all.sh
| |
Archive all repositories in the current directory
tar_all.sh
| |
