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
53
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
170
Starting a Digital Zettelkasten
idealhack
0
71
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
870
Everyone Can Work on Kubernetes
idealhack
0
49
环青海湖骑行(2012)
idealhack
0
35
Introduction to Git
idealhack
1
680
Great Firewall of China
idealhack
0
48
Other Decks in Programming
See All in Programming
remix + cloudflare workers (DO) docker上でいい感じに開発する
yoshidatomoaki
0
120
PHPのガベージコレクションを深掘りしよう
rinchoku
0
250
SideKiqでジョブが二重起動した事象を深堀りしました
t_hatachi
0
240
OpenTelemetryを活用したObservability入門 / Introduction to Observability with OpenTelemetry
seike460
PRO
1
350
Day0 初心者向けワークショップ実践!ソフトウェアテストの第一歩
satohiroyuki
0
440
Kubernetesで実現できるPlatform Engineering の現在地
nwiizo
2
1.7k
‘무차별 LGTM~👍’만 외치던 우리가 ‘고봉밥 코드 리뷰’를?
hannah0731
0
530
Preact、HooksとSignalsの両立 / Preact: Harmonizing Hooks and Signals
ssssota
1
780
家族・子育て重視/沖縄在住を維持しながらエンジニアとしてのキャリアをどのように育てていくか?
ug
0
250
Boost Your Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
250
Let's Take a Peek at PHP Parser 5.x!
inouehi
0
100
英語文法から学ぶ、クリーンな設計の秘訣
newnomad
1
270
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Being A Developer After 40
akosma
90
590k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
8
700
Code Reviewing Like a Champion
maltzj
522
39k
For a Future-Friendly Web
brad_frost
176
9.6k
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
Navigating Team Friction
lara
184
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
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@example.com • $ 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?