Closed gvwilson closed 8 years ago
On Fri, Sep 26, 2014 at 03:39:21AM -0700, Greg Wilson wrote:
better explain why you have the staging area and why you would want to have some things staged and/or committed while working on other things not yet added.
At 2014-03-uw, @ChristinaLK had a nice photographer analogy. I see it's also in @jiffyclub's short-form Git+GitHub notes 1, which I've always been partial to 2.
Thanks for the links, Trevor. I thought that lesson might be lost to time, but you've got it, and GitHub let me restore the aged branch from which I made that PR. https://github.com/jiffyclub/boot-camps/blob/git-github/version-control/git/git-and-github/instructor_notes.md
I also do a photography analogy for the stage: taking a group picture of the class vs taking a picture of each of student to compose yearbook afterwards. It works pretty well.
Feedback from a learner: when introducing staging area in add and commit, better explain why you have the staging area and why you would want to have some things staged and/or committed while working on other things not yet added.