Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to Git

Y
May 08, 2013

Introduction to Git

Y

May 08, 2013
Tweet

More Decks by Y

Other Decks in Programming

Transcript

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

    Distributed • Data Assurance • Staging Area • Free and Open Source http://git-scm.com/about
  2. Configurations • $ git config --global user.name "Your Name" •

    $ git config --global user.email [email protected] • $ git config --global color.ui true
  3. Hello World • $ git init • $ git add

    README • $ git status • $ git commit -m "first commit"
  4. Basics • $ git diff • $ git mv •

    $ git rm • $ git log • $ git checkout • $ git reset • $ git blame • $ git show • $ git stash • ...
  5. Branches • $ git branch • $ git merge •

    $ git rebase • $ git cherry-pick • $ git tag • ...
  6. • $ git clone • $ git remote • $

    git push • $ git fetch • $ git pull • ... Remotes