Created
April 26, 2010 19:11
-
-
Save subtleGradient/379750 to your computer and use it in GitHub Desktop.
git-transmit opens your recently modified files using Panic's Transmit.app DockSend
This file contains hidden or 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
#!/usr/bin/env bash | |
# author: Thomas Aylott SubtleGradient.com | |
echo "Transmitting" | |
for i in `git log -${1:-1} $2 --name-only|grep -E '^[^ ]+$'|sort|uniq`; do | |
if [[ -e $i ]]; then | |
echo " $i" | |
open -a Transmit $i | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey guys, checkout the fork I just uploaded. It's aims to be smart about only pushing files that have changed by using a local tag to track where the repo was at each time you do a push. https://gist.github.com/quickshiftin/8809435