swcarpentry / DEPRECATED-bc

DEPRECATED: This repository is now frozen - please see individual lesson repositories.
Other
299 stars 382 forks source link

Better explanation of staging area #746

Closed gvwilson closed 8 years ago

gvwilson commented 10 years ago

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.

wking commented 10 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.

jiffyclub commented 10 years ago

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

iglpdc commented 9 years ago

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.

gvwilson commented 8 years ago

Replaced by https://github.com/swcarpentry/git-novice/issues/315