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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
480
Chain made out of coins - smart introduction to blockchain
gwilczynski
0
100
WebComponents or shadow side of the Doom
gwilczynski
0
49
clean code
gwilczynski
0
130
Single responsibility principle
gwilczynski
2
190
Productivity for Programmers
gwilczynski
3
210
Git branching model for TAPTeam
gwilczynski
0
930
JS design patterns
gwilczynski
6
370
Other Decks in Programming
See All in Programming
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
440
Takumiから考えるSecurity_Maturity_Model.pdf
gessy0129
1
150
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
280
車輪の再発明をしよう!PHP で実装して学ぶ、Web サーバーの仕組みと HTTP の正体
h1r0
0
130
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
470
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
680
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
520
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
OTP を自動で入力する裏技
megabitsenmzq
0
120
技術検証結果の整理と解析をAIに任せよう!
keisukeikeda
0
130
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
110
Featured
See All Featured
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
470
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Unsuck your backbone
ammeep
672
58k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Site-Speed That Sticks
csswizardry
13
1.1k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
200
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
320
Building a Modern Day E-commerce SEO Strategy
aleyda
45
8.9k
The World Runs on Bad Software
bkeepers
PRO
72
12k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
94
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.7k
Scaling GitHub
holman
464
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/