Frequent questions about commits: how many to make, whether to amend, and what the difference is from a push.
- How many changes per commit?
One conceptual change. If the message has "and" twice, split it.
- Amend vs new commit?
Amend only before push. After push, amend rewrites history that others may have pulled.
- Commit vs push?
Commit is local. Push sends commits to a remote. You can commit fifty times without pushing once.
- Do I need a GPG signature?
Only if the project requires it. Git commits work unsigned by default.