blob: c0048ea80064da385e21502e65ac5706d065428f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
REPO_DIR=$(realpath "${SCRIPT_DIR}"/..)
STENCIL_REPO=http://github.com/brown-csci1680/ipstack-template
main() {
git remote rm stencil || true
git remote add stencil "$STENCIL_REPO"
git config pull.rebase false
git pull stencil main --allow-unrelated-histories -s ort -Xtheirs --no-edit
}
main $@
|