[Solved] Why does output differ under git diff vs. git diff –staged?
You are, I think, being misled. Git doesn’t store changes at all. The whole thing seems very mysterious until you realize that Git just stores everything intact, but does so in a weird way. What Git stores permanently First and most important, Git doesn’t exactly store files. It winds up doing so, but that’s because … Read more