Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That command only added header and cpp files - as opposed to doing hg git add *

Another helpful techniq is to do things like git commit and look carefully at the files you are committing. Then doing git diff <fileName> on each one is a good way to check what you have changed - generally speaking this is a big way to avoid accidentally checking in mistakes that you didn’t intend to commit to source control. Think of it as operating on a patient - you want to be careful that tools haven’t been accidentally left in the patient before we sew them up.

...