summaryrefslogtreecommitdiff
path: root/setup.sh
blob: fb2a6d6f9ede9a6c05c7b79e66f07aaf684e0ef1 (plain)
1
2
3
4
5
6
7
8
9
# Setup documents repo
if [ -d "docs/Documents/.git" ]; then
    cd docs/Documents
    git fetch origin main
    git reset --hard origin/main
    cd -
else
    git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents
fi