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
780
1
Share
Introduction to Git
Y
May 08, 2013
More Decks by Y
See All by Y
A Tale of Two KEPs
idealhack
0
24
What I Talk About When I Talk About Social Media
idealhack
0
310
Starting a Digital Zettelkasten
idealhack
0
110
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
910
Everyone Can Work on Kubernetes
idealhack
0
97
环青海湖骑行(2012)
idealhack
0
62
Dive into Git
idealhack
0
90
Great Firewall of China
idealhack
0
98
Other Decks in Programming
See All in Programming
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
250
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
1
160
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
140
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
5
870
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
140
iOS26時代の新規アプリ開発
yuukiw00w
0
170
Import assertionsが消えた日~ECMAScriptの仕様はどう決まり、なぜ覆るのか~
bicstone
2
190
AI時代になぜ書くのか
mutsumix
0
440
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
880
Sans tests, vos agents ne sont pas fiables
nabondance
0
140
AI駆動開発で崩れていくコードベースを立て直す
kyoko_nr_nr
0
260
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
320
Featured
See All Featured
GitHub's CSS Performance
jonrohan
1033
470k
We Have a Design System, Now What?
morganepeng
55
8.1k
How STYLIGHT went responsive
nonsquared
100
6.1k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
280
The Art of Programming - Codeland 2020
erikaheidi
57
14k
How to train your dragon (web standard)
notwaldorf
97
6.6k
How GitHub (no longer) Works
holman
316
150k
Prompt Engineering for Job Search
mfonobong
0
310
Faster Mobile Websites
deanohume
310
31k
Six Lessons from altMBA
skipperchong
29
4.2k
A better future with KSS
kneath
240
18k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
370
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?