Skip to content

Instantly share code, notes, and snippets.

@alexander-heimbuch
Created December 1, 2015 09:01
Show Gist options
  • Save alexander-heimbuch/ed10fe268b19fa49da39 to your computer and use it in GitHub Desktop.
Save alexander-heimbuch/ed10fe268b19fa49da39 to your computer and use it in GitHub Desktop.
Useful Git Commands
#!/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