Reputation: 2748
I want to get an email that will display the last changes made by git. It should be nicely formatted similar to github ( + are green, - are red).
This is what I have done so far:
This way, I get the output of 'git show' to the email every 5 minutes if code is changed within this time.
What is missing is as follows:
I'd appreciate any help here. Thanks.
Upvotes: 1
Views: 1231
Reputation: 11791
git diff --color @{yesterday}
(or whenever the last pull was done/differences are of interest) works nicely for me...
Upvotes: 1