mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-10-30 22:01:57 +01:00
Update update.sh
This commit is contained in:
1 parent
67ba2b1fb5
commit
3a0007771d
1 file changed
+3
-2
@@ -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