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
Prejdite na DVCS (WebElement #13)
Search
Vladimír Kriška
November 08, 2012
Programming
220
0
Share
Prejdite na DVCS (WebElement #13)
Vladimír Kriška
November 08, 2012
More Decks by Vladimír Kriška
See All by Vladimír Kriška
Twelve-Factor app with Docker
ujovlado
0
160
Design a REST API you will love to work with
ujovlado
0
790
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
510
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
410
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
170
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
120
CSS Flexbox (WebElement #35)
ujovlado
0
190
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
190
Don't underestimate CSS (WebElement #30)
ujovlado
0
630
Other Decks in Programming
See All in Programming
20260315 AWSなんもわからん🥲
chiilog
2
180
20260320登壇資料
pharct
0
150
AI時代の脳疲弊と向き合う ~言語学としてのPHP~
sakuraikotone
1
1.8k
Laravel Nightwatchの裏側 - Laravel公式Observabilityツールを支える設計と実装
avosalmon
1
300
Rethinking API Platform Filters
vinceamstoutz
0
5.5k
Everything Claude Code OSS詳細 — 5層構造の中身と導入方法
targe
0
160
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
190
モックわからないマン卒業記 ~振る舞いを起点に見直した、フロントエンドテストにおけるモックの使いどころ~
tasukuwatanabe
3
440
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
670
AI-DLC 入門 〜AIコーディングの本質は「コード」ではなく「構造」〜 / Introduction to AI-DLC: The Essence of AI Coding Is Not “Code” but “Structure”
seike460
PRO
0
180
GoのDB アクセスにおける 「型安全」と「柔軟性」の両立 - Bob という選択肢
tak848
0
300
夢の無限スパゲッティ製造機 -実装篇- #phpstudy
o0h
PRO
0
190
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
470
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
140
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
260
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
The Curse of the Amulet
leimatthew05
1
11k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
110
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
990
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
700
Transcript
Prejdite na DVCS Vladimír Kriška (@ujovlado) WebElement #13
VCS všeobecne Existujú dva prístupy: • lock-modify-unlock • copy-modify-merge
Subversion Azda najznámejší centralizovaný VCS. • repozitár na vzdialenom serveri
• jednotné čísla revízií
Subversion - workflow • svn checkout • ... do something
... • svn commit 1. svn update 2. ... do something ... 3. svn commit (alebo zase od 1., lebo niekto commitol)
Subversion - branch Nič ako branch v SVN neexistuje. Podľa
priečinku sa určuje na čom robím. Odporúčaná štruktúra: • trunk • branches • tags Všetko sa robí cez `svn copy`
Subversion - branch
Subversion - výhody?
Subversion - výhody 1. Jednoduchosť 2. Built-in autorizácia 3. Rozšírenosť
(podpora)
Subversion - branch Nič ako branch v SVN neexistuje. Podľa
priečinku sa určuje na čom robím. Odporúčaná štruktúra: • trunk • branches • tags Všetko sa robí cez `svn copy`
Mercurial Mercurial: • všetko je lokálne • každý je server
• netreba connect (`hg init` hocikde) • pokročilé možnosti
Mercurial
Mercurial - branch Existuje branch, tag, bookmark. Globálne: • branch
• tag Lokálne: • bookmark
Mercurial - workflow • hg clone (or hg init) •
... do something ... • hg commit • hg push (ak chcem) 1. ... do something ... 2. hg commit • hg pull -u, hg merge, hg push
Mercurial - merge :)
Mercurial - nevýhody • Veľa sa robí `hg merge` •
"Nedokonalá" staging area • Rollback len raz (ale dá sa backout)
Na záver • Skúste DVCS • Používajte "verbose mode" •
Používajte CLI - veľa sa naučíte Ak chcete prejsť na DVCS z SVN, určite zvoľte Mercurial.
Ďakujem Otázky?