Re: Dump differing files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A user-friendly version might be `git diff --stat $COMMIT1 $COMMIT2`. This will
give you a diffstat showing what's different between the two commits.

If you really just want the changed files, you can use something like

     git diff-tree --name-only -r $COMMIT1 $COMMIT2

-Kevin Ballard

On Nov 12, 2010, at 9:44 AM, Maaartin wrote:

> Some time ago, I saw a command allowing to dump all files which differ in the 
> given two commits (or something like that). It may have been an option to git 
> diff or whatever, but I can't find it anymore. I'm quite sure, somebody knows... 
> thanks.
> 
> --
> 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

--
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


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]