15 May 2017

Do a svn export in git

Here's how you can emulate svn export in git. (replace _replace_with_commit_value_ with actual value)

git archive -o update.zip HEAD $(git diff --name-only _replace_with_commit_value_ --diff-filter=ACMRTUXB)

No comments:

Post a Comment