Skip to content

Instantly share code, notes, and snippets.

@RodolfoSilva
Created July 26, 2015 18:07
Show Gist options
  • Save RodolfoSilva/a4dffbc59b7caa956ed6 to your computer and use it in GitHub Desktop.
Save RodolfoSilva/a4dffbc59b7caa956ed6 to your computer and use it in GitHub Desktop.
Compacta o último commit apenas com as modificações.
// Essencial para trabalhar com FTP
git diff -z --name-only HEAD^ | xargs --null git archive --output update.zip HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment