summaryrefslogtreecommitdiff
path: root/setup.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'setup.ps1')
-rw-r--r--setup.ps13
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.ps1 b/setup.ps1
index dd25785..b2e48a2 100644
--- a/setup.ps1
+++ b/setup.ps1
@@ -1,7 +1,8 @@
# Setup documents repo
if (Test-Path "docs/Documents/.git") {
Push-Location "docs/Documents"
- git pull origin main
+ git fetch origin main
+ git reset --hard origin/main
Pop-Location
} else {
git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents