How to determine if Git handles a file as binary or as text? - Stack Overflow
http://stackoverflow.com/questions/6119956/how-to-determine-if-git-handles-a-file-as-binary-or-as-text
- git diff-tree -p 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD -- XXXX
- git diff-tree --numstat 4b825dc642cb6eb9a060e54bf8d69288fbee4904 HEAD -- XXXX
- git grep -I --name-only -e "" -- XXXX
4b823d… is a magic SHA which represents the empty tree
沒有留言:
張貼留言