Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Dive into Git (1) idealhack @ TuSDK 2016/1/6
Slide 2
Slide 2 text
Git /ɡɪt/
Slide 3
Slide 3 text
Version Control System
Slide 4
Slide 4 text
Version Control System Distributed
Slide 5
Slide 5 text
No content
Slide 6
Slide 6 text
Features • Branching and Merging • Small and Fast • Distributed • Data Assurance • Staging Area • Free and Open Source http://git-scm.com/about
Slide 7
Slide 7 text
Installing • http://git-scm.com/download • $ brew install git • $ apt-get install git
Slide 8
Slide 8 text
Configurations • $ git config --global user.name "Your Name" • $ git config --global user.email email@example.com • $ git config --global color.ui true
Slide 9
Slide 9 text
Hello World • $ git init • $ git add README • $ git status • $ git commit -m "first commit"
Slide 10
Slide 10 text
Three Trees • Working Directory • Index (Staging Area) • HEAD
Slide 11
Slide 11 text
Basics • $ git diff • $ git mv • $ git rm • $ git log • $ git checkout • $ git reset • $ git blame • $ git show • $ git stash • ...
Slide 12
Slide 12 text
Branches • $ git branch • $ git merge • $ git rebase • $ git cherry-pick • $ git tag • ...
Slide 13
Slide 13 text
Remotes • $ git clone • $ git remote • $ git push • $ git fetch • $ git pull • ...
Slide 14
Slide 14 text
Getting Help • $ git help
Slide 15
Slide 15 text
Goodies • SourceTree • GitLab • git-extras
Slide 16
Slide 16 text
Resources • git - ᓌกܖ • Pro Git • http://git-scm.com/ • http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/
Slide 17
Slide 17 text
THANKS
Slide 18
Slide 18 text
Questions?