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
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
440
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
980
Apache Iceberg V3 and migration to V3
tomtanaka
0
140
登壇資料を作る時に意識していること #登壇資料_findy
konifar
0
190
Vibe codingでおすすめの言語と開発手法
uyuki234
0
220
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
2
180
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
230
Grafana:建立系統全知視角的捷徑
blueswen
0
320
CSC307 Lecture 03
javiergs
PRO
1
490
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
600
CSC307 Lecture 04
javiergs
PRO
0
650
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
110
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
420
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
ラッコキーワード サービス紹介資料
rakko
1
2.2M
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
We Are The Robots
honzajavorek
0
160
The Limits of Empathy - UXLibs8
cassininazir
1
210
Tell your own story through comics
letsgokoyo
1
800
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
240
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
110
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/