Chris J Mears
Web Developer Extraordinaire!
-
List the files changed using Git and Textmate
Posted on August 3rd, 2010 No commentsHere’s a little workflow I thought I’d share for when I want to see all the files changed during a commit range:
Requires: git, Textmate, and Mac OS X (of course)
git show --pretty="format:" --name-only [SHA range, (e.g. 7c98847..f8fa22d)] > ~/Desktop/changed_files.txt
mate ~/Desktop/changed_files.txt
When Textmate opens:
- Select All Text
- Bundles > Text > Sorting > Sort Lines & Remove Duplicates
Related posts:
Leave a reply


