Created
December 1, 2015 09:01
-
-
Save alexander-heimbuch/ed10fe268b19fa49da39 to your computer and use it in GitHub Desktop.
Useful Git Commands
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/bash | |
# source: http://tosbourn.com/using-git-to-create-an-archive-of-changed-files/ | |
git archive -o update.zip HEAD $(git diff --name-only HEAD^) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment