Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Dive into Git
Search
Y
January 06, 2016
Programming
0
32
Dive into Git
Y
January 06, 2016
Tweet
Share
More Decks by Y
See All by Y
What I Talk About When I Talk About Social Media
idealhack
0
120
Starting a Digital Zettelkasten
idealhack
0
50
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
850
Everyone Can Work on Kubernetes
idealhack
0
35
环青海湖骑行(2012)
idealhack
0
25
Introduction to Git
idealhack
1
660
Great Firewall of China
idealhack
0
35
Other Decks in Programming
See All in Programming
Security_for_introducing_eBPF
kentatada
0
110
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
1
560
テストケースの名前はどうつけるべきか?
orgachem
PRO
0
130
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
130
useSyncExternalStoreを使いまくる
ssssota
6
1k
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
命名をリントする
chiroruxx
1
390
Featured
See All Featured
Music & Morning Musume
bryan
46
6.2k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
97
YesSQL, Process and Tooling at Scale
rocio
169
14k
Optimizing for Happiness
mojombo
376
70k
Why Our Code Smells
bkeepers
PRO
335
57k
Testing 201, or: Great Expectations
jmmastey
40
7.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Six Lessons from altMBA
skipperchong
27
3.5k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
How GitHub (no longer) Works
holman
311
140k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
Transcript
Dive into Git (1) idealhack @ TuSDK 2016/1/6
Git /ɡɪt/
Version Control System
Version Control System Distributed
None
Features • Branching and Merging • Small and Fast •
Distributed • Data Assurance • Staging Area • Free and Open Source http://git-scm.com/about
Installing • http://git-scm.com/download • $ brew install git • $
apt-get install git
Configurations • $ git config --global user.name "Your Name" •
$ git config --global user.email
[email protected]
• $ git config --global color.ui true
Hello World • $ git init • $ git add
README • $ git status • $ git commit -m "first commit"
Three Trees • Working Directory • Index (Staging Area) •
HEAD
Basics • $ git diff • $ git mv •
$ git rm • $ git log • $ git checkout • $ git reset • $ git blame • $ git show • $ git stash • ...
Branches • $ git branch • $ git merge •
$ git rebase • $ git cherry-pick • $ git tag • ...
Remotes • $ git clone • $ git remote •
$ git push • $ git fetch • $ git pull • ...
Getting Help • $ git help <command>
Goodies • SourceTree • GitLab • git-extras
Resources • git - ᓌกܖ • Pro Git • http://git-scm.com/
• http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/
THANKS
Questions?