diff options
Diffstat (limited to 'scripts/dev/setup.sh')
| -rw-r--r-- | scripts/dev/setup.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/dev/setup.sh b/scripts/dev/setup.sh new file mode 100644 index 0000000..5c7973e --- /dev/null +++ b/scripts/dev/setup.sh @@ -0,0 +1,12 @@ +# Change to the directory where the script is located +cd "$(dirname "$0")/../../" || exit 1 + +# 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 |
