After ssh --git run remote local with delete flag
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user