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
git scm in one hour
Search
Grzegorz Wilczyński
February 05, 2014
Programming
0
110
git scm in one hour
basics of git
Grzegorz Wilczyński
February 05, 2014
Tweet
Share
More Decks by Grzegorz Wilczyński
See All by Grzegorz Wilczyński
REWRITE'EM ALL
gwilczynski
2
470
Chain made out of coins - smart introduction to blockchain
gwilczynski
0
99
WebComponents or shadow side of the Doom
gwilczynski
0
48
clean code
gwilczynski
0
130
Single responsibility principle
gwilczynski
2
190
Productivity for Programmers
gwilczynski
3
200
Git branching model for TAPTeam
gwilczynski
0
920
JS design patterns
gwilczynski
6
370
Other Decks in Programming
See All in Programming
サイトを作ったらNFCタグキーホルダーを爆速で作れ!
yuukis
0
180
LLMは麻雀を知らなすぎるから俺が教育してやる
po3rin
3
2.1k
物語を動かす行動"量" #エンジニアニメ
konifar
14
4.5k
Vibe coding コードレビュー
kinopeee
0
430
なぜあなたのオブザーバビリティ導入は頓挫するのか
ryota_hnk
5
590
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
200
decksh - a little language for decks
ajstarks
4
21k
Flutterと Vibe Coding で個人開発!
hyshu
1
250
PHPカンファレンス関西2025 基調講演
sugimotokei
6
1.1k
CEDEC 2025 『ゲームにおけるリアルタイム通信への QUIC導入事例の紹介』
segadevtech
3
830
LLMOpsのパフォーマンスを支える技術と現場で実践した改善
po3rin
8
800
変化を楽しむエンジニアリング ~ いままでとこれから ~
murajun1978
0
710
Featured
See All Featured
Embracing the Ebb and Flow
colly
86
4.8k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
A designer walks into a library…
pauljervisheath
207
24k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
4 Signs Your Business is Dying
shpigford
184
22k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
For a Future-Friendly Web
brad_frost
179
9.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Git: the NoSQL Database
bkeepers
PRO
431
65k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
Transcript
GIT SCM IN ONE HOUR Grzegorz Wilczyński" twitter.com/wilq_
SCM http://sodiumlightsthehorizon.co.uk/cms/wp-content/uploads/2010/09/13357-ba33a2-500-407.jpg
SVN Server Client 1 Client 2 Client 3
GIT Client 1 Client 2 Client 3
Setup ❖ git config --global user.name "Your Name"" ❖ git
config --global user.email "
[email protected]
"" ❖ Unix users:! ❖ git config --global core.autocrlf input" ❖ git config --global core.safecrlf true" ❖ Windows users:! ❖ git config --global core.autocrlf true" ❖ git config --global core.safecrlf true
Practice ❖ git clone
[email protected]
:gwilczynski/git-scm-in-one-hour.git" ❖ git status" ❖ vim
cupcake.txt" ❖ git add --all" ❖ git commit -m "added cupcake"" ❖ git push
Practice ❖ git log! ! ❖ commit 8e222b5bd022d0250795472f8ee9a415b74b87d0" ❖ Author:
Grzegorz Wilczynski <
[email protected]
>" ❖ Date: Tue Feb 4 22:43:06 2014 +0100" ❖ added cupcake" ! ❖ commit 6eb8670d1a6b877f7318a7389e79475617c05aea" ❖ Author: Grzegorz Wilczyński <
[email protected]
>" ❖ Date: Tue Feb 4 12:53:28 2014 -0800" ❖ Initial commit
Practice ❖ git checkout -b pink-team" ❖ git push origin
pink-team" ❖ git checkout -b pink-team origin/pink-team -t" ❖ git merge pink-team
Practice ❖ Auto-merging cupcake.txt" ❖ CONFLICT (content): Merge conflict in
cupcake.txt" ❖ Automatic merge failed; fix conflicts and then commit the result.
Practice ❖ <<<<<<< HEAD" ❖ Cupcake test dolor " ❖
=======" ❖ Rose ipsum dolor " ❖ >>>>>>> pink-team
Practice ❖ git checkout 8e222b5bd022d0250795472f8ee9a415b74b87d0
Sources ❖ http://gitimmersion.com/" ❖ http://git-scm.com/