jaen-united-2024/update.bat
2024-02-06 21:35:14 +01:00

12 lines
300 B
Batchfile
Executable File

echo "Updating package to latest master version"
echo "Fetching origin..."
git "fetch" "origin"
echo "Cleaning untracked files..."
git "clean" "-f" "-df"
echo "Resetting to HEAD..."
git "reset" "--hard" "HEAD"
echo "Pulling..."
git "pull"
echo "Checking out HEAD..."
git "checkout" "HEAD"
echo "Done"