This is the sequence of steps to follow to create a root gh-pages branch. It is based on a question at [SO]
cd /path/to/repo-name
git symbolic-ref HEAD refs/heads/gh-pages
rm .git/index
git clean -fdx
echo "My GitHub Page" > index.html
| #!/bin/bash | |
| # see https://github.com/microsoft/RoadDetections | |
| # 1) get the data | |
| wget https://usaminedroads.blob.core.windows.net/road-detections/Oceania-Full.zip | |
| # 2) extract the records for Australia, second column of tsv only | |
| zgrep AUS Oceania-Full.zip | cut -f2 > AUS.geojson | |
| # 3) convert to GPKG, works better in QGIS |