I have the following error:
/mingw32/bin/git: Argument list too long
when i do :
git archive -o ../archive.zip HEAD $(git diff --name-only --diff-filter=ACMRTUXB xxxxxxx)
xxxxxxx = SHA commit
Before it worked.
I use Git Bash Sourcetree.
Thank you for your help
You git diff is producing a file list that has too many files for bash to allow as arguments. You might research how to use xargs to accomplish your task.
Basic usage outlined here: http://stackoverflow.com/questions/11289551/argument-list-too-long-error-for-rm-cp-mv-commands
Ok, then SourceTree has nothing to do with your question, it is just a generic git question.
I would recommended emailing the original author of your command and asking if he has any ideas: http://tosbourn.com/using-git-to-create-an-archive-of-changed-files/
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs