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
Yet another introduction to git
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
AI ネイティブな組織に Gemini Enterprise Agent Platform がなぜ必要なのか
asei
1
140
AIは実装を速くする。では、私たちは何を今作るべきか?-立場を越えてリリースに向き合ったチーム開発の実践 / 20260801 Hiromi Nakaya and Naoki Takahashi
shift_evolve
PRO
3
170
AI工学特論: MLOps・継続的評価
asei
11
3.1k
Claude Code並行開発環境の ムダ‧ムラ‧ムリを見直した話
muranakaaa
1
390
データ組織の転換期 一足飛びしない段階的戦略
leveragestech
PRO
0
140
クラウドを使う側から、作る側へ / 大吉祥寺.pm 2026前夜祭
fujiwara3
8
2k
AWS環境のセキュリティ不安を解消した企業事例 ~よくある課題と対策を一挙公開~
asanoharuki
1
270
QAタスクをスキル化したいときに考えること
aomoriringo
0
140
オートロックマンションなのに、各部屋は施錠なし!? 攻撃者が組織内ネットワークで大暴れする理由 / The Front Door Is Locked, but the Rooms Are Wide Open: Why Attackers Move Freely Inside Enterprise Networks
nttcom
0
610
SnowflakeCoCoでデータエンジニアリング!
foursue
0
110
AI驚き屋発見器
yama3133
2
390
『モンスターストライク』 の運営に伴走する! データ民主化への 解析グループの3つのアプローチ
mixi_engineers
PRO
0
200
Featured
See All Featured
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.1k
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Paper Plane
katiecoart
PRO
2
52k
Believing is Seeing
oripsolob
1
180
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Designing for Performance
lara
611
70k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.7k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
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?