DEV Community

loading...

Discussion on: Git Interview Questions For Developers

Collapse
jmfayard profile image
Jean-Michel Fayard πŸ‡«πŸ‡·πŸ‡©πŸ‡ͺπŸ‡¬πŸ‡§πŸ‡ͺπŸ‡ΈπŸ‡¨πŸ‡΄

Nicely written.

Confession: the "working directory vs staging area" in git is a layer of abstraction that provides additional flexibility which I never feel like I actually need it
My git client put all changes by default in the staging area.
It also allows me to commit only a selection of files or chunks of files.
I don't need it for log and other temporary files, those are gitignored anyway.