Currently, I used diff=astextplain
, what does it exactly do?
http://stackoverflow.com/questions/28146244/what-is-the-difference-between-diff-and-diff-astextplain
This post did discuss the pdf management. http://blogs.atlassian.com/2013/06/git-diff/
https://gist.github.com/cedricwalter/8706188 this is the original source for my derived .gitattributes