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
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
Oxlint JS plugins
kazupon
1
990
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
3.9k
高速開発のためのコード整理術
sutetotanuki
1
410
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
250
SourceGeneratorのススメ
htkym
0
200
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
Grafana:建立系統全知視角的捷徑
blueswen
0
330
CSC307 Lecture 01
javiergs
PRO
0
690
CSC307 Lecture 03
javiergs
PRO
1
490
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
Data-Centric Kaggle
isax1015
2
780
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.5k
Featured
See All Featured
Accessibility Awareness
sabderemane
0
56
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Documentation Writing (for coders)
carmenintech
77
5.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
71
How to train your dragon (web standard)
notwaldorf
97
6.5k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
231
22k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
120
Docker and Python
trallard
47
3.7k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
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?