mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
sphinxrelay: set git identity with the correct user (#1812)
This commit is contained in:
parent
e6fbb752dc
commit
0a0d20cfa8
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user