Git - Recording Changes to the Repository
5
公开标注数
5
参与人数
2026-07-19 10:00:32
首次 Whisper
本页的公开 Whisper
划选高亮2026-07-19 13:21:32
原文高亮摘录
“Git stages a file exactly as it is when you run the git add command”
Whisper 随想笔记
So every time I edit I gotta re-add or I'm committing the old version? Good to know.
划选高亮2026-07-19 13:12:32
原文高亮摘录
“Git stages a file exactly as it is when you run the git add command”
Whisper 随想笔记
This one got me too — thought git add was just a checkmark, not a snapshot.
划选高亮2026-07-19 10:18:32
原文高亮摘录
“Tracked files are files that were in the last snapshot, as well as any newly staged files”
Whisper 随想笔记
Ah so untracked just means git hasn't seen it yet, makes sense.
划选高亮2026-07-19 10:09:32
原文高亮摘录
“Tracked files are files that were in the last snapshot, as well as any newly staged files”
Whisper 随想笔记
Does that mean deleting a tracked file still keeps it tracked until you commit?
划选高亮2026-07-19 10:00:32
原文高亮摘录
“Tracked files are files that were in the last snapshot, as well as any newly staged files”
Whisper 随想笔记
So basically if you staged it once, git never forgets it exists.
分享本页 Whisper
短链接
https://domwhisper.com/s/4052e105100d嵌入代码
<iframe src="https://domwhisper.com/embed/4052e105100d" width="100%" height="480" style="border:0;border-radius:16px" loading="lazy"></iframe>