add --git sync option
This commit is contained in:
@@ -24,8 +24,10 @@ elif [ "$1" = "--git" ]; then
|
||||
ssh -t $SERVER_USER@$SERVER_HOST \
|
||||
"cd $SERVER_PATH && ./lazygit"
|
||||
|
||||
# After that sync remote with --delete flag
|
||||
bash remote-local.sh --delete
|
||||
# After that sync remote with --delete flag (if script exists)
|
||||
if [ -f "remote-local.sh" ]; then
|
||||
bash remote-local.sh --delete
|
||||
fi
|
||||
elif [ "$1" = "--todo" ]; then
|
||||
todoSearch
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user