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
180
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
100
Design a REST API you will love to work with
ujovlado
0
740
Docker for PHP developers - Tips, Tricks & Lessons learned
ujovlado
3
470
Docker ‐ from development to production in minutes (PoSobota #91)
ujovlado
0
370
Non-traditional use of Docker (Nette Camp #3)
ujovlado
0
130
Contributions [lightning talk] (PyconCZ 2015)
ujovlado
0
82
CSS Flexbox (WebElement #35)
ujovlado
0
150
Simplify your dev life with Docker (WebElement Banská Bystrica)
ujovlado
0
160
Don't underestimate CSS (WebElement #30)
ujovlado
0
580
Other Decks in Programming
See All in Programming
Composerが「依存解決」のためにどんな工夫をしているか #phpcon
o0h
PRO
1
130
Cursor AI Agentと伴走する アプリケーションの高速リプレイス
daisuketakeda
1
120
Bytecode Manipulation 으로 생산성 높이기
bigstark
2
360
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
390
A2A プロトコルを試してみる
azukiazusa1
2
900
PostgreSQLのRow Level SecurityをPHPのORMで扱う Eloquent vs Doctrine #phpcon #track2
77web
1
130
Java on Azure で LangGraph!
kohei3110
0
160
すべてのコンテキストを、 ユーザー価値に変える
applism118
2
470
CursorはMCPを使った方が良いぞ
taigakono
0
150
Benchmark
sysong
0
230
エラーって何種類あるの?
kajitack
5
280
Effect の双対、Coeffect
yukikurage
5
1.4k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
56
9.4k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Writing Fast Ruby
sferik
628
61k
The Cost Of JavaScript in 2023
addyosmani
51
8.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
RailsConf 2023
tenderlove
30
1.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
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?