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
Introducing ReActionView: A new ActionView-compatible ERB Engine @ Rails World 2025, Amsterdam
marcoroth
0
310
レガシープロジェクトで最大限AIの恩恵を受けられるようClaude Codeを利用する
tk1351
4
1.6k
Ruby Parser progress report 2025
yui_knk
1
260
時間軸から考えるTerraformを使う理由と留意点
fufuhu
9
3.8k
奥深くて厄介な「改行」と仲良くなる20分
oguemon
1
270
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
2
1k
Google I/O recap web編 大分Web祭り2025
kponda
0
2.9k
Improving my own Ruby thereafter
sisshiki1969
1
150
AWS発のAIエディタKiroを使ってみた
iriikeita
1
140
AIを活用し、今後に備えるための技術知識 / Basic Knowledge to Utilize AI
kishida
19
4.3k
私の後悔をAWS DMSで解決した話
hiramax
4
180
AI時代のUIはどこへ行く?
yusukebe
11
5.8k
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Documentation Writing (for coders)
carmenintech
73
5k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Side Projects
sachag
455
43k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
What's in a price? How to price your products and services
michaelherold
246
12k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.5k
GitHub's CSS Performance
jonrohan
1032
460k
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/