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
52
Starting a Digital Zettelkasten
idealhack
0
23
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
830
Everyone Can Work on Kubernetes
idealhack
0
12
环青海湖骑行(2012)
idealhack
0
11
Dive into Git
idealhack
0
16
Great Firewall of China
idealhack
0
13
Other Decks in Programming
See All in Programming
Navigating Generative AI: A Developer's Guide
alperhankendi
0
160
「正の影響力」を目指して書くこと
honey32
2
110
The Design of Everyday APIs - PyCon 2024
roguelynn
1
620
RuboCop: LSP and Prism
koic
3
1.6k
Findy - エンジニア向け会社紹介 / Findy Letter for Engineers
findyinc
2
76k
#kaigieffect LT 2024 - rexml-css_selector: A REXML extension for supporting CSS selector
makenowjust
1
140
The Frontend Rubyist
largo
0
470
Google Analytics でサイト速度を計測する / Measure site speed with Google Analytics
forrep
2
100
スタックトレース始めてみた
kuro_kurorrr
5
1.3k
見えないものに着目すると上手くいく、モデリングの勘所 / invisible-driven-design
minodriven
18
3.7k
의존성 주입과 Dagger Hilt
fornewid
0
110
Improved REXML XML parsing performance using StringScanner
naitoh
0
190
Featured
See All Featured
Code Review Best Practice
trishagee
56
16k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
16
1.6k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
69
14k
Done Done
chrislema
178
15k
In The Pink: A Labor of Love
frogandcode
138
21k
The Invisible Side of Design
smashingmag
294
49k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
47k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
Reflections from 52 weeks, 52 projects
jeffersonlam
345
19k
Writing Fast Ruby
sferik
623
60k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
155
14k
A designer walks into a library…
pauljervisheath
201
23k
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?