#Staging

1 posts

Git Basics #2: add, commit, status — What the Staging Area Means
8 min read

Git Basics #2: add, commit, status — What the Staging Area Means

Read the untracked, modified, and staged states from real git status output, and record your first snapshot with add and commit. Why the staging area exists, the two kinds of diff, and what .gitignore keeps out of history.