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
Introduction to Git
Search
Y
May 08, 2013
Programming
1
700
Introduction to Git
Y
May 08, 2013
Tweet
Share
More Decks by Y
See All by Y
What I Talk About When I Talk About Social Media
idealhack
0
190
Starting a Digital Zettelkasten
idealhack
0
80
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
880
Everyone Can Work on Kubernetes
idealhack
0
56
环青海湖骑行(2012)
idealhack
0
42
Dive into Git
idealhack
0
65
Great Firewall of China
idealhack
0
59
Other Decks in Programming
See All in Programming
Gleamという選択肢
comamoca
6
760
DroidKnights 2025 - 다양한 스크롤 뷰에서의 영상 재생
gaeun5744
3
320
型付きアクターモデルがもたらす分散シミュレーションの未来
piyo7
0
810
Cline指示通りに動かない? AI小説エージェントで学ぶ指示書の書き方と自動アップデートの仕組み
kamomeashizawa
1
570
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
410
Webの外へ飛び出せ NativePHPが切り拓くPHPの未来
takuyakatsusa
2
360
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
200
童醫院敏捷轉型的實踐經驗
cclai999
0
190
プロダクト志向なエンジニアがもう一歩先の価値を目指すために意識したこと
nealle
0
110
XP, Testing and ninja testing
m_seki
3
180
AIエージェントはこう育てる - GitHub Copilot Agentとチームの共進化サイクル
koboriakira
0
380
GoのGenericsによるslice操作との付き合い方
syumai
3
690
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.3k
The Straight Up "How To Draw Better" Workshop
denniskardys
234
140k
Typedesign – Prime Four
hannesfritz
42
2.7k
Building Adaptive Systems
keathley
43
2.6k
Faster Mobile Websites
deanohume
307
31k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
RailsConf 2023
tenderlove
30
1.1k
A Tale of Four Properties
chriscoyier
160
23k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.8k
Gamification - CAS2011
davidbonilla
81
5.3k
Practical Orchestrator
shlominoach
188
11k
Transcript
Introduction to Git Yang Li
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 • ...
• $ git clone • $ git remote • $
git push • $ git fetch • $ git pull • ... Remotes
• $ git help <command> Getting Help
Goodies • git-extras • GitX
Resources • http://git-scm.com/ • http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/
THANKS
Questions?