From aee222bd3163f6e6a4bb75b9dd7104006a80fa87 Mon Sep 17 00:00:00 2001 From: Risto Date: Mon, 13 Jun 2022 14:36:04 +0200 Subject: [PATCH] Change git by default to rebase instead of merge --- tools/setup_buildenv_msys2_stage2.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/setup_buildenv_msys2_stage2.sh b/tools/setup_buildenv_msys2_stage2.sh index 46f44ef3f..3d9956f28 100644 --- a/tools/setup_buildenv_msys2_stage2.sh +++ b/tools/setup_buildenv_msys2_stage2.sh @@ -74,4 +74,10 @@ if [[ $PAUSEAFTEREACHLINE == "true" ]]; then echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop." fi +echo "=== Step $((STEP++)): Set git pull by default to rebase instead of merge ===" +git config --global --bool pull.rebase true +if [[ $PAUSEAFTEREACHLINE == "true" ]]; then + echo "Step finished. Please check the output above and press Enter to continue or Ctrl+C to stop." +fi + echo "Setting up build environment has finished. You can now start building EdgeTX firmware and binaries!"