Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
git-transmit
#!/usr/bin/env bash
# author: Thomas Aylott SubtleGradient.com
#
# If you're on a mac and have Transmit, I'd recommend the following git-tranmit script (https://gist.github.com/379750).
# It uses # DockSend to send only the last updated files. If you're not familiar with DockSend, check out
# http://www.panic.com/blog/2010/11/15-secrets-of-transmit/.
#
# Setup:
#
# List item
# cp git-transit /usr/sbin/.
# cd /usr/sbin
# chmod +x git-transmit
# Setup drop send for your live app
# Run git-transmit in your git repository.
#
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
Something went wrong with that request. Please try again.