Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Yet another introduction to git
Search
Tevin Zhang
March 10, 2015
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Yet another introduction to git
Really junior introduction to git, with demonstrations.
Tevin Zhang
March 10, 2015
More Decks by Tevin Zhang
See All by Tevin Zhang
Switching from HAProxy to Samaritan
tevino
2
220
Golang Notes
tevino
1
140
Other Decks in Technology
See All in Technology
DEFCON_CHV_CTF_Write-up.pdf
bata_24
0
130
DEFCON34-Write-up_HYCu-MYCu
daikiokazaki
0
140
Amazon S3 Tablesに全部任せてみた結果——コンパクション/スナップショット管理は本当に手放せるか
shigeruoda
1
460
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
160
2026-09-10 【Snowflake World Tour Tokyo 2026】dbt Core と Snowflake で実現する多層的なデータガバナンス / Multi-Layered Data Governance Powered by dbt Core and Snowflake
civitaspo
0
310
薬剤師(ドメインエキスパート)と一緒に育てる薬局向けAIアシスタント
kakehashi
PRO
2
140
Deploying a Full-Stack Bun-Native Framework on Cloudflare Workers
7nohe
0
130
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
1
440
クロスボーダーM&AのValue Upを支えるプロダクト開発。日米チームのハブになったプロダクトエンジニアの実践 / Product Engineering Conference 2026
genda
0
110
AIオーケストレーションを活用した 開発ワークフローの設計と実践
bqnq
0
130
多層防御と最⼩権限で実現する、安全なAIエージェント設計パターン
lycorptech_jp
PRO
1
250
Oracle Cloud Infrastructure IaaS 新機能アップデート 2026/6 - 2026/8
oracle4engineer
PRO
0
140
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
380
Utilizing Notion as your number one productivity tool
mfonobong
4
580
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
240
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
840
Joys of Absence: A Defence of Solitary Play
codingconduct
1
500
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
820
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.5k
Believing is Seeing
oripsolob
1
210
Docker and Python
trallard
47
4.2k
Transcript
Yet Another Introduction to git Tevin Zhang
Agenda • Features • Staging Area • File Status Life
Cycle • Basic operation • Tips
Features • Small and Fast • Branching and Merging •
Distributed • Staging Area http://git-scm.com/about
Staging area Working directory Repository
Staging area Working directory Repository Commit changes
Staging area Working directory Staging area Repository Commit changes
Staging area Working directory Staging area Repository Commit changes Stage
Staging area Working directory Staging area Repository Commit changes Stage
Commit
File Status Life Cycle Untracked
File Status Life Cycle Untracked Staged
File Status Life Cycle Committed Untracked Staged
File Status Life Cycle Committed Untracked Modified Staged
File Status Life Cycle Committed Untracked Modified Staged
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged git add
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged Committed git add
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged Committed git add git commit
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a Revert changes
File Status Life Cycle Working directory Staging area Repository Commit
changes Stage Commit Untracked or Modified Staged Committed git add git commit git commit -a Revert changes git checkout —- <filename>
Basic Operation • git init • git clone • git
status
• git add • git commit • git log •
git diff Basic Operation
Branching • git checkout • git branch • git merge
Sync • git pull • git push • git remote
Tips • git config --global color.ui true • alias for
git log • git stash
Questions?