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
Dive into Git
Search
Y
January 06, 2016
Programming
0
74
Dive into Git
Y
January 06, 2016
Tweet
Share
More Decks by Y
See All by Y
What I Talk About When I Talk About Social Media
idealhack
0
250
Starting a Digital Zettelkasten
idealhack
0
94
Recap: The Release Team Shadow Program - Mentoring For the Future
idealhack
1
890
Everyone Can Work on Kubernetes
idealhack
0
72
环青海湖骑行(2012)
idealhack
0
48
Introduction to Git
idealhack
1
740
Great Firewall of China
idealhack
0
67
Other Decks in Programming
See All in Programming
Dive into Triton Internals
appleparan
0
320
バッチ処理を「状態の記録」から「事実の記録」へ
panda728
PRO
0
210
品質ワークショップをやってみた
nealle
0
670
Vueのバリデーション、結局どれを選べばいい? ― 自作バリデーションの限界と、脱却までの道のり ― / Which Vue Validation Library Should We Really Use? The Limits of Self-Made Validation and How I Finally Moved On
neginasu
3
1.7k
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
スキーマ駆動で、Zod OpenAPI Honoによる、API開発するために、Hono Takibiというライブラリを作っている
nakita628
0
330
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
Register is more than clipboard
satorunooshie
1
170
GC25 Recap: The Code You Reviewed is Not the Code You Built / #newt_gophercon_tour
mazrean
0
130
AI時代に必須!状況言語化スキル / ai-context-verbalization
minodriven
2
250
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
210
NIKKEI Tech Talk#38
cipepser
0
340
Featured
See All Featured
Fireside Chat
paigeccino
41
3.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
34
2.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Designing for Performance
lara
610
69k
Side Projects
sachag
455
43k
Site-Speed That Sticks
csswizardry
13
940
Statistics for Hackers
jakevdp
799
220k
Designing Experiences People Love
moore
142
24k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Transcript
Dive into Git (1) idealhack @ TuSDK 2016/1/6
Git /ɡɪt/
Version Control System
Version Control System Distributed
None
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 • ...
Remotes • $ git clone • $ git remote •
$ git push • $ git fetch • $ git pull • ...
Getting Help • $ git help <command>
Goodies • SourceTree • GitLab • git-extras
Resources • git - ᓌกܖ • Pro Git • http://git-scm.com/
• http://gitref.org/ • http://gitcasts.com/ • https://help.github.com/
THANKS
Questions?