Categories: Tips & Tricks

List Modified Filenames In Git

I was working on a few enhancement features of an existing project, after a few weeks work I was required to make some completed features live, so I was wondering what all files have been modified. So the Git versioning came to help, and by specifying two commit SHA1s I was able to retrive the list of files modified between the commits. Here’s how to do it,

[code]
$ git diff –name-only afd98 a3d55
program.pl
list.pl
Docs.pm
[/code]

Pradeep

Share
Published by
Pradeep
Tags: git

Recent Posts

Update Google AMP Cache with Perl

While implementing Google AMP (Accelerated Mobile Pages) for your website, it might occur to you…

6 years ago

Don’t buy Reliance Jio’s JioFi Device or JioPhone – Avoid at all cost

Thinking of buying the JioFi device by reliance or to be precise any device by…

7 years ago

Solution for Copy Paste or right click disabled in Websites Chrome

Do you hate those pesky javascripts. Majority of the banking, utility bill payment etc so…

10 years ago

Sync personal ebooks with notes, bookmarks reading position on your Kindle

So amazon has this amazing feature called whispersync : If you read the same Kindle…

11 years ago

Google Authenticator: Moving To A New Phone

Getting a new HTC One left me wondering how will I move Google Authenticator from…

11 years ago

Electronic Arts Free Games! Free ITunes Gift Vouchers

Get Bad Company 2, ME: Infiltrator, etc for free Free Games you can get today:…

12 years ago