Merge pull request #1349 from mempool/wiz/set-git-to-always-rebase

Set git to always rebase from install script
This commit is contained in:
wiz 2022-03-12 12:28:03 +00:00 committed by GitHub
commit 32bbee960c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -819,6 +819,7 @@ osSudo "${ROOT_USER}" chown -R "${MEMPOOL_USER}:${MEMPOOL_GROUP}" "${MEMPOOL_HOM
osSudo "${MEMPOOL_USER}" touch "${MEMPOOL_HOME}/.zshrc"
echo "[*] Cloning Mempool repo from ${MEMPOOL_REPO_URL}"
osSudo "${MEMPOOL_USER}" git config --global pull.rebase true
osSudo "${MEMPOOL_USER}" git config --global advice.detachedHead false
osSudo "${MEMPOOL_USER}" git clone --branch "${MEMPOOL_REPO_BRANCH}" "${MEMPOOL_REPO_URL}" "${MEMPOOL_HOME}/${MEMPOOL_REPO_NAME}"