Do you know how can I see the differences between multiple non-consecutive commits and the current commit ? Let's say I have a user story '457', and here are all changes I made while implementing it:
$ git log1 | grep '457'
* 3451c32 - (2 days ago) 457: Sql for converting from kJ/g to kJ/100g 
* 51ebc26 - (3 days ago) 457: Refactoring code
* 4e0c3de - (3 days ago) 457: Refact constructDataForGrid 
* 50fcef2 - (8 days ago) 457: Dont show value while empty or zero 
* a901da1 - (8 days ago) 457: Dynamic conversion done 
* 6adf6e4 - (8 days ago) 457: Refactor constant: DBTechnicalDataID and UITechnicalDataID 
* bb961eb - (8 days ago) 457: Show total unit on create 
* fea5bb6 - (9 days ago) 457: Add comment for TabDataTag.java
How can I do something like git diff 457 HEAD, where 457 contains all my above changes ?
FYI, the git log1 is taken from here: Pretty git branch graphs
 
     
    