Skip to content

Instantly share code, notes, and snippets.

@Mahjouba91
Created September 23, 2016 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mahjouba91/45f3503e7d8fc7fb536e99ca93173d4f to your computer and use it in GitHub Desktop.
Save Mahjouba91/45f3503e7d8fc7fb536e99ca93173d4f to your computer and use it in GitHub Desktop.
# Pour l'archive diff
git archive -o diff.zip Num_Ver $(git diff --name-only --diff-filter=ACMRT Num_Ver_Old)
# Pour la liste des fichiers supprimés
git diff --name-status --diff-filter=D Num_Ver_Old Num_Ver -- > file-deleted.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment