Hi, On Mon, 28 Sep 2009, 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. If you mean all the files that were touched by the last commit: git diff --name-only HEAD^.. If you mean all the files of the latest revision: git ls-tree --name-only -r HEAD Both commands take -z options in which case they delimit the names with NULs for better parsability. Hth, Dscho -- 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