News for hackers. Stuff that matters.
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.
Re:My Amazon S3 Mistake by coldpie on Wednesday December 31, 2014 @09:00AM (#8819348)
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.