Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#!/usr/bin/env bash
# Setup script for a checkout of the Chromium HSTS preload list.
# Source -> and
echo "---- Creating folder and initializing a git repository. ----"
mkdir chromium-hsts && cd chromium-hsts
git init
echo "---- Adding chromium remote and initializing sparse checkout of /net/http. ----"
git remote add origin
git config core.sparsecheckout true
echo net/http >> .git/info/sparse-checkout
echo "---- Pulling Code ----"
git pull origin master --depth 1
echo "See"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment