Git Mirroring Into Gitlab. Project is a collection of bash scripts that works with https://github.com/samrocketman/gitlab-mirrors for easy usage of adding new mirrors to your Gitlab.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Facinorous
1ee4796b8d
|
4 years ago | |
---|---|---|
removemelater | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
setup | 4 years ago | |
setup.conf | 4 years ago |
README.md
- Create a user in your gitlab named
gitmirror
- Create a new user on your linux system.
- Clone this repo into your new users home directory
~
- Edit setup.conf to your desires
- Run
./setup
to behin the set up process - Copy ssh key shown in terminal at the end of setup script into your gitlab users account
- Run
./creategroups
to make all the groups in gitlab - Run
./mirror
to set up a mirror
Write script to create cron jobs for auto mirrors
Use ./update to update your gitlab-mirror dependancy