summaryrefslogtreecommitdiff
path: root/setup.ps1
blob: b2e48a216bb73968d20327f2edb6c567658279c3 (plain)
1
2
3
4
5
6
7
8
9
# Setup documents repo
if (Test-Path "docs/Documents/.git") {
    Push-Location "docs/Documents"
    git fetch origin main
    git reset --hard origin/main
    Pop-Location
} else {
    git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents
}