Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Jon Loeliger's Git book contradiction?

On page 49 of Loeliger's Git book, he says "After any edits and before you commit, run git add..." Yet on page 22, he edits the file and commits it without the "add". So which is it, always run add before commit, or sometimes run add before commit?

On page 22, it says "there are now two versions...in the repository" So why on page 49 does he day to "run git add after any edit" ? What exactly is the consequence of running or not running "git add" after an edit?
1 person has
this question
+1
Reply