Working Tree, Index and Repository
You edited app.py and ran git add app.py. Then you edited app.py again. What will git commit (without -a) record?
app.py
git add app.py
git commit
-a
Choose one answer
Both edits.
Only the first edit — the version that was staged with git add.
git add
Only the second edit.
Nothing, because the file changed after staging.