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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Vladimír Kriška
November 08, 2012
Programming
0
210
Prejdite na DVCS (WebElement #13)
Vladimír Kriška
November 08, 2012
Tweet
Share
More Decks by Vladimír Kriška
See All by Vladimír Kriška
Twelve-Factor app with Docker
ujovlado
0
150
Design a REST API you will love to work with
ujovlado
0
780
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
510
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
400
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
160
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
120
CSS Flexbox (WebElement #35)
ujovlado
0
180
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
190
Don't underestimate CSS (WebElement #30)
ujovlado
0
620
Other Decks in Programming
See All in Programming
CSC307 Lecture 10
javiergs
PRO
1
660
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
AtCoder Conference 2025
shindannin
0
1.1k
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Apache Iceberg V3 and migration to V3
tomtanaka
0
170
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
170
CSC307 Lecture 01
javiergs
PRO
0
690
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
380
Fluid Templating in TYPO3 14
s2b
0
130
AI & Enginnering
codelynx
0
120
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
750
Featured
See All Featured
A designer walks into a library…
pauljervisheath
210
24k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.8k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
460
Everyday Curiosity
cassininazir
0
130
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
9.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
Designing for Performance
lara
610
70k
Mobile First: as difficult as doing things right
swwweet
225
10k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Bash Introduction
62gerente
615
210k
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?