1
0
mirror of synced 2025-12-19 18:11:23 -05:00
Files
blitz/scripts/fetchRemote.sh
2020-05-04 17:39:10 +07:00

11 lines
216 B
Bash
Executable File

#!/bin/sh
set -e
if test "$(git remote -v | grep 'upstream' | wc -l)" = 0; then
echo "Upstream remote not found, adding one"
git remote add upstream https://github.com/blitz-js/blitz.git
fi
git fetch upstream