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
48
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
150
Starting a Digital Zettelkasten
idealhack
0
63
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
Introduction to Git
idealhack
1
670
Great Firewall of China
idealhack
0
42
Other Decks in Programming
See All in Programming
Immutable ActiveRecord
megane42
0
140
1年目の私に伝えたい!テストコードを怖がらなくなるためのヒント/Tips for not being afraid of test code
push_gawa
0
220
Djangoにおける複数ユーザー種別認証の設計アプローチ@DjangoCongress JP 2025
delhi09
PRO
4
160
第3回 Snowflake 中部ユーザ会- dbt × Snowflake ハンズオン
hoto17296
4
370
PHP ステートレス VS ステートフル 状態管理と並行性 / php-stateless-stateful
ytake
0
100
WebDriver BiDiとは何なのか
yotahada3
1
140
SwiftUIで単方向アーキテクチャを導入して得られた成果
takuyaosawa
0
270
社内フレームワークとその依存性解決 / in-house framework and its dependency management
vvakame
1
560
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
190
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
120
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
38
14k
GAEログのコスト削減
mot_techtalk
0
120
Featured
See All Featured
How to train your dragon (web standard)
notwaldorf
91
5.8k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
10
1.3k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Optimising Largest Contentful Paint
csswizardry
34
3.1k
The Cult of Friendly URLs
andyhume
78
6.2k
Designing on Purpose - Digital PM Summit 2013
jponch
117
7.1k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Optimizing for Happiness
mojombo
376
70k
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
Designing for Performance
lara
604
68k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.1k
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?