Skip to content

Instantly share code, notes, and snippets.

@bergpb

bergpb/git-ftp.sh

Created Feb 16, 2021
Embed
What would you like to do?
Uso do git-ftp
# Realiza a sincronização do repositório
git ftp push -b main -u "$FTP_USERNAME" -p "$FTP_PASSWORD" ftp://$FTP_HOST -v
# Realiza o envio apenas dos arquivos alterados
git ftp push -b main -u "$FTP_USERNAME" -p "$FTP_PASSWORD" ftp://$FTP_HOST -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment