Commit 462c2beb authored by nanahira's avatar nanahira

shallow dependency

parent f4023376
......@@ -7,12 +7,12 @@ download_repo() {
if [ -d "$REPO_DIR" ]; then
(cd "$REPO_DIR" && git pull)
else
git clone "$REPO_URL" "$REPO_DIR"
git clone --depth 1 "$REPO_URL" "$REPO_DIR"
fi
}
# download_repo chnroutes2 https://github.com/misakaio/chnroutes2.git
download_repo dnsmasq-china-list https://code.mycard.moe/nanahira/dnsmasq-china-list
download_repo dnsmasq-china-list git@git.mycard.moe:nanahira/dnsmasq-china-list.git
# download_repo mycard-dnsmasq https://code.mycard.moe/mycard/dnsmasq
cd dnsmasq-china-list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment