git log a specific HEAD~N

Is there any way to just show the output of git log a number of commits ago?

I tried, e.g. git log HEAD~3 but that seems to show everything, not just the entry for HEAD~3 (three commits ago from HEAD)


Yes, git show HEAD~3 will display the single commit object (including a diff of files it changed, by default).

Need Your Help

Magento - Loop through all products in category, change value and save

php magento loops collections foreach

I need to loop through all the products in a particular category, change a custom attribute and then save each product.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.