mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 04:37:19 +02:00
sphinxrelay: set git identity with the correct user (#1812)
This commit is contained in:
@@ -417,8 +417,8 @@ if [ "$1" = "update" ]; then
|
||||
# https://github.com/stakwork/sphinx-relay/blob/master/docs/raspiblitz_deployment.md#fast-method
|
||||
echo "# Stashing the config"
|
||||
if [ $(sudo -u sphinxrelay git stash|grep -c "Please tell me who you are") -gt 0 ]; then
|
||||
git config user.email "you@example.com"
|
||||
git config user.name "Your Name"
|
||||
sudo -u sphinxrelay git config user.email "you@example.com"
|
||||
sudo -u sphinxrelay git config user.name "Your Name"
|
||||
fi
|
||||
sudo -u sphinxrelay git stash
|
||||
echo "# Pulling latest changes..."
|
||||
|
Reference in New Issue
Block a user