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
660
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
130
Starting a Digital Zettelkasten
idealhack
0
58
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
860
Everyone Can Work on Kubernetes
idealhack
0
38
环青海湖骑行(2012)
idealhack
0
27
Dive into Git
idealhack
0
42
Great Firewall of China
idealhack
0
38
Other Decks in Programming
See All in Programming
良いユニットテストを書こう
mototakatsu
11
3.5k
テストケースの名前はどうつけるべきか?
orgachem
PRO
1
280
Kaigi on Railsに初参加したら、その日にLT登壇が決定した件について
tama50505
0
140
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
240
htmxって知っていますか?次世代のHTML
hiro_ghap1
0
410
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
750
선언형 UI에서의 상태관리
l2hyunwoo
0
260
GitHub CopilotでTypeScriptの コード生成するワザップ
starfish719
26
5.9k
Beyond ORM
77web
11
1.5k
今年のアップデートで振り返るCDKセキュリティのシフトレフト/2024-cdk-security-shift-left
tomoki10
0
350
Go の GC の不得意な部分を克服したい
taiyow
3
1k
range over funcの使い道と非同期N+1リゾルバーの夢 / about a range over func
mackee
0
210
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Speed Design
sergeychernyshev
25
730
Designing Experiences People Love
moore
139
23k
Code Review Best Practice
trishagee
65
17k
A designer walks into a library…
pauljervisheath
205
24k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
340
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
GitHub's CSS Performance
jonrohan
1030
460k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2.1k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
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?