chore: move git safe directory command to top

This commit is contained in:
Nicolas Giard 2023-05-10 15:40:22 -04:00 committed by GitHub
parent 871afb1b86
commit 2163a01adc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,12 +4,12 @@ WORKSPACEDIR="/workspace"
sudo service rsyslog start &>/dev/null
# Turn off git info in zsh prompt (causes slowdowns)
git config oh-my-zsh.hide-info 1
# Add /workspace as a safe git directory
git config --global --add safe.directory /workspace
# Turn off git info in zsh prompt (causes slowdowns)
git config oh-my-zsh.hide-info 1
# Fix ownership of volumes
echo "Fixing volumes ownership..."
sudo chown -R dev:dev "$WORKSPACEDIR/.parcel-cache"