After ssh --git run remote local with delete flag

This commit is contained in:
2025-12-15 10:58:06 +02:00
parent 30131dd2f3
commit ff7e2fef93
2 changed files with 5 additions and 1 deletions

View File

@@ -17,6 +17,9 @@ elif [ "$1" = "--git" ]; then
sshpass -p "$SERVER_PASSWORD" \
ssh -t $SERVER_USER@$SERVER_HOST \
"cd $SERVER_PATH && ./lazygit"
# After that sync remote with --delete flag
bash remote-local.sh --delete
else
sshpass -p "$SERVER_PASSWORD" \
ssh -t $SERVER_USER@$SERVER_HOST \