git add . vs git commit -a

Viewed 64433

What's the difference between:

  • git add .
  • git commit -a

Should I be doing both, or is that redundant?

3 Answers
Related