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
680
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
170
Starting a Digital Zettelkasten
idealhack
0
71
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
870
Everyone Can Work on Kubernetes
idealhack
0
47
环青海湖骑行(2012)
idealhack
0
35
Dive into Git
idealhack
0
52
Great Firewall of China
idealhack
0
48
Other Decks in Programming
See All in Programming
パスキーのすべて / 20250324 iddance Lesson.5
kuralab
0
110
PHPによる"非"構造化プログラミング入門 -本当に熱いスパゲティコードを求めて- #phperkaigi
o0h
PRO
0
1.1k
RubyKaigiで手に入れた HHKB Studioのための HIDRawドライバ
iberianpig
0
340
Devin入門と最近のアップデートから見るDevinの進化 / Introduction to Devin and the Evolution of Devin as Seen in Recent Update
rkaga
7
3.6k
Return of the Full-Stack Developer
simas
PRO
1
310
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
1.6k
2025/3/18 サービスの成長で生じる幅広いパフォーマンスの問題を、 AIで手軽に解決する
shirahama_x
0
160
Going Structural with Named Tuples
bishabosha
0
160
アーキテクトと美学 / Architecture and Aesthetics
nrslib
12
2.9k
Functional APIから再考するLangGraphを使う理由
os1ma
5
650
体得しよう!RSA暗号の原理と解読
laysakura
3
520
小さく段階的リリースすることで深夜メンテを回避する
mkmk884
2
120
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
75
9.3k
Building an army of robots
kneath
304
45k
GraphQLとの向き合い方2022年版
quramy
45
14k
Thoughts on Productivity
jonyablonski
69
4.5k
Large-scale JavaScript Application Architecture
addyosmani
511
110k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
Being A Developer After 40
akosma
90
590k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.6k
Faster Mobile Websites
deanohume
306
31k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.7k
The World Runs on Bad Software
bkeepers
PRO
67
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?