On Mon, Sep 28, 2009 at 02:02:52PM +0100, Ahmed Nuaman, Freelance Designer and Developer wrote: > I use git for a local versioning system and was wondering if there was a > way that I could write a bash script that would get the paths of the files > from the latest commit and then pipe them to ftp or ssh for deployment. For example, to scp a complete file list from branch `topic' to `user@server', you could use `rsync' and do something like: git checkout topic && git ls-tree -r --name-only | rsync -a -e ssh --files-from=- user@server:/path/to/dest Note, that this is completely untested. Use at your own risk. Regards, chressie -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html