Re:My Amazon S3 Mistake
by Kiro on Wednesday December 31, 2014 @04:25AM
(#8818706)
Sorry for OT but why do you need to add HEAD? I always just do git diff. I tried to google but didn't find any good answer.
[ Parent
| on HN ]
If you do just "git diff" it will show you the diff between the index (staging area) and your working tree. If you do "git diff HEAD" it will show you the difference between the latest commit and your working tree, that is, it includes the diff in the staging area.