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
630
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
40
Starting a Digital Zettelkasten
idealhack
0
22
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
820
Everyone Can Work on Kubernetes
idealhack
0
12
环青海湖骑行(2012)
idealhack
0
11
Dive into Git
idealhack
0
14
Great Firewall of China
idealhack
0
13
Other Decks in Programming
See All in Programming
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
8
2.2k
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
160
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
Elm 0.19.0 Changes
bkuhlmann
0
480
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
190
pixivアプリでマルチモジュールを実現するまで
gatosyocora
1
130
Rails と人魚の話/rails-and-mermaid
sanfrecce_osaka
0
100
今の SmartHR にエンジニアで入社するとどうなるの?
daisukeshinoku
5
4.6k
Ruby Pattern Matching
bkuhlmann
0
920
Code Reviews
bkuhlmann
4
880
From Spring Boot 2 to Spring Boot 3 with Java 21 and Jakarta EE
ivargrimstad
0
1.1k
Java 22 Overview
kishida
1
170
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
Git: the NoSQL Database
bkeepers
PRO
422
63k
Product Roadmaps are Hard
iamctodd
43
9.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
15
2.6k
What's in a price? How to price your products and services
michaelherold
237
11k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
YesSQL, Process and Tooling at Scale
rocio
163
13k
Facilitating Awesome Meetings
lara
41
5.6k
Happy Clients
brianwarren
91
6.4k
jQuery: Nuts, Bolts and Bling
dougneiner
59
7.1k
How to train your dragon (web standard)
notwaldorf
72
5.1k
Side Projects
sachag
451
41k
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?