Created
May 5, 2014 20:26
-
-
Save hereswhatidid/1861b2f54ac47899b015 to your computer and use it in GitHub Desktop.
Creates an archive of the files that are different between the master and development branches using Sourcetree on the Mac.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
args=("$@") | |
git archive -o deploy/deploy-devcompare.zip HEAD $(git diff-tree --no-commit-id --name-only -r master..development) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment