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

Dive into Git

Y
January 06, 2016

Dive into Git

Y

January 06, 2016
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. Remotes • $ git clone • $ git remote •

    $ git push • $ git fetch • $ git pull • ...
  7. Resources • git - ᓌก೰ܖ • Pro Git • http://git-scm.com/

    • http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/