Update README. Fix mirror script.

master
Facinorous 4 years ago
parent 830369f8a8
commit 16031ee309

@ -55,6 +55,9 @@ The full syntax for the command is `./mirror -g GROUPNAME -n REPONAME -r SOURCER
Where `-g` means **destination group name**, `-n` means **destination repo name**, and `-r` means **source repo location** Where `-g` means **destination group name**, `-n` means **destination repo name**, and `-r` means **source repo location**
<br> <br>
The first time you run this command, it will ask you to enter the `gitmirror` details for your Gitlab instance. I'm going to try to make this as hands free as possible in the future.
<br>
If you at any time want to add more groups you can mirror to, simply add them to the setup.conf file and redo the set up process. If you at any time want to add more groups you can mirror to, simply add them to the setup.conf file and redo the set up process.
# Updating # Updating

@ -3,7 +3,7 @@
#################### ####################
# Your gitlab information # Your gitlab information
gitlabURL=https://gitmirror:gitmirrorpssword@git.example.com gitlabURL=https://git.example.com
gitlabUser=gitmirror gitlabUser=gitmirror
gitlabToken=REPLACE_ME_WITH_GITLAB_PRIVATE_TOKEN_OF_MIRROR_ACCOUNT gitlabToken=REPLACE_ME_WITH_GITLAB_PRIVATE_TOKEN_OF_MIRROR_ACCOUNT

Loading…
Cancel
Save