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
670
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
150
Starting a Digital Zettelkasten
idealhack
0
62
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
860
Everyone Can Work on Kubernetes
idealhack
0
41
环青海湖骑行(2012)
idealhack
0
30
Dive into Git
idealhack
0
47
Great Firewall of China
idealhack
0
41
Other Decks in Programming
See All in Programming
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
670
Amazon Bedrock Multi Agentsを試してきた
tm2
1
280
自分ひとりから始められる生産性向上の取り組み #でぃーぷらすオオサカ
irof
8
2.7k
『GO』アプリ バックエンドサーバのコスト削減
mot_techtalk
0
140
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
35
14k
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.1k
CNCF Project の作者が考えている OSS の運営
utam0k
6
710
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
370
Djangoアプリケーション 運用のリアル 〜問題発生から可視化、最適化への道〜 #pyconshizu
kashewnuts
1
240
Bedrock Agentsレスポンス解析によるAgentのOps
licux
3
820
WebDriver BiDiとは何なのか
yotahada3
1
140
Featured
See All Featured
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Optimizing for Happiness
mojombo
376
70k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The World Runs on Bad Software
bkeepers
PRO
67
11k
A Tale of Four Properties
chriscoyier
158
23k
Making the Leap to Tech Lead
cromwellryan
133
9.1k
Designing Experiences People Love
moore
139
23k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.4k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Done Done
chrislema
182
16k
Documentation Writing (for coders)
carmenintech
67
4.6k
Thoughts on Productivity
jonyablonski
69
4.5k
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?