Yet another introduction to git

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Yet another introduction to git

Really junior introduction to git, with demonstrations.

Tevin Zhang

March 10, 2015

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

28 slides
  1. Features • Small and Fast • Branching and Merging •

    Distributed • Staging Area http://git-scm.com/about
  2. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged
  3. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged git add
  4. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged Committed git add
  5. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged Committed git add git commit
  6. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a
  7. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a Revert changes
  8. File Status Life Cycle Working directory Staging area Repository Commit

    changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a Revert changes git checkout —- <filename>

More Decks by Tevin Zhang

Other Decks in Technology