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
61
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
ARA Ansible for the teams
kksat
0
150
Grafana Cloudとソラカメ
devoc
0
140
TokyoR116_BeginnersSession1_環境構築
kotatyamtema
0
110
2024年のkintone API振り返りと2025年 / kintone API look back in 2024
tasshi
0
210
技術を根付かせる / How to make technology take root
kubode
1
240
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
29
11k
昭和の職場からアジャイルの世界へ
kumagoro95
1
350
動作確認やテストで漏れがちな観点3選
starfish719
6
1k
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
110
テストをしないQAエンジニアは何をしているか?
nealle
0
130
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
7
2.5k
チームリードになって変わったこと
isaka1022
0
190
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
67
11k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
400
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.1k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.2k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
540
4 Signs Your Business is Dying
shpigford
182
22k
Typedesign – Prime Four
hannesfritz
40
2.5k
Music & Morning Musume
bryan
46
6.3k
It's Worth the Effort
3n
184
28k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.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?