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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Y
May 08, 2013
Programming
790
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to Git
Y
May 08, 2013
More Decks by Y
See All by Y
A Tale of Two KEPs
idealhack
0
55
What I Talk About When I Talk About Social Media
idealhack
0
330
Starting a Digital Zettelkasten
idealhack
0
130
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
920
Everyone Can Work on Kubernetes
idealhack
0
110
环青海湖骑行(2012)
idealhack
0
73
Dive into Git
idealhack
0
100
Great Firewall of China
idealhack
0
120
Other Decks in Programming
See All in Programming
AIに既存システムを理解させる技術 ~レガシーを見捨てないハーネスエンジニアリング入門~
ochtum
0
150
Go 1.27 における memory allocation の高速化
andpad
0
320
仕様駆動開発の消費期限
watany
20
9k
30年振りにコンパイラの定数整数除算を改善した
herumi
9
4.2k
Hono + Inertia + React で LP を構築した話
oukayuka
2
160
freee が目指す データ マネジメント戦略 AI-Ready 時代を支える 攻めのガバナンスとは
freee
PRO
0
480
Oxlintはいいぞ(続)
yug1224
1
440
komatsuna「分散システムにおけるバグ分析手法」
komatsunaqa
0
280
プロポーザルを書いてもらう
pvcresin
0
580
FastAPI の並行処理モデルを完全に理解する
hoto17296
8
3k
Loosening the Reins: Go Generics Get More Flexible
kuro_kurorrr
0
320
使いながら育てる Claude Code — 開発フローの1コマンド化 × 繰り返し指摘の自動仕組み化
shiki_kakaku
1
2k
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
550
ラッコキーワード サービス紹介資料
rakko
1
4.5M
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
480
Building a Scalable Design System with Sketch
lauravandoore
463
34k
A designer walks into a library…
pauljervisheath
211
24k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
400
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
210
Producing Creativity
orderedlist
PRO
348
40k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Agile that works and the tools we love
rasmusluckow
331
22k
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?