mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-05 01:11:12 +02:00
Update update.sh
This commit is contained in:
@@ -22,8 +22,9 @@ fi
|
||||
|
||||
# Update the local repository
|
||||
echo "Updating local repository..."
|
||||
git fetch --all
|
||||
git reset --hard origin/main # Replace 'main' with your branch name if different
|
||||
#git fetch --all
|
||||
#git reset --hard origin/main # Replace 'main' with your branch name if different
|
||||
git pull origin main --rebase # Fetch and rebase to keep local changes if any
|
||||
echo "Local repository updated."
|
||||
|
||||
# Install or update dependencies
|
||||
|
||||
Reference in New Issue
Block a user