Created
October 13, 2018 15:35
-
-
Save ggirtsou/be21c2a9a53f9601b9ec3a34f01a3081 to your computer and use it in GitHub Desktop.
A bash script I wrote to create bare repositories on git.byteslice.co.uk: gitweb runs on http://git.byteslice.co.uk/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
set -x | |
set -e | |
repos=(ai-labs.git cloud-backup.git cloud-cli.git cloud-compute.git cloud-configuration.git cloud-container-registry.git cloud-dashboard.git cloud-database.git cloud-dns.git cloud-identity.git cloud-key-management.git cloud-load-balancer.git cloud-memory-db.git cloud-networking.git cloud-nosql-db.git cloud-orchestrator.git cloud-persistent-volume.git cloud-protect.git cloud-pubsub.git cloud-rdbms-db.git cloud-search-engine.git cloud-storage.git cloud-time-series-db.git code-build.git monitoring-agent.git monitoring-aggregation.git monitoring-alerting.git monitoring-anomaly-detection.git monitoring-collection.git monitoring-processing.git monitoring-visualisation.git video-conference.git) | |
for repo in "${repos[@]}" | |
do | |
cd $repo && git init --bare && cd ../ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment