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
Version control, workflows and deployments with...
Search
Jan Henckens
February 16, 2015
Programming
0
82
Version control, workflows and deployments with WordPress
Jan Henckens
February 16, 2015
Tweet
Share
More Decks by Jan Henckens
See All by Jan Henckens
Google Tag Manager (WP Antwerp, November 2015)
janhenckens
0
390
Responsive Images and WordPress 4.4 - WordCamp Berlin
janhenckens
1
470
Version control basics & continuous deployment
janhenckens
0
72
Other Decks in Programming
See All in Programming
ecspresso, ecschedule, lambroll を PipeCDプラグインとして動かしてみた (プロトタイプ) / Running ecspresso, ecschedule, and lambroll as PipeCD Plugins (prototype)
tkikuc
2
1.9k
[JAWS-UG横浜 #80] うわっ…今年のServerless アップデート、少なすぎ…?
maroon1st
0
100
週次リリースを実現するための グローバルアプリ開発
tera_ny
1
1.2k
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
9
2.4k
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
430
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
590
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
940
php-conference-japan-2024
tasuku43
0
430
HTML/CSS超絶浅い説明
yuki0329
0
190
Azure AI Foundryのご紹介
qt_luigi
1
210
Fibonacci Function Gallery - Part 2
philipschwarz
PRO
0
210
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Music & Morning Musume
bryan
46
6.3k
Faster Mobile Websites
deanohume
305
30k
How STYLIGHT went responsive
nonsquared
96
5.3k
Adopting Sorbet at Scale
ufuk
74
9.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
192
16k
Embracing the Ebb and Flow
colly
84
4.5k
A Philosophy of Restraint
colly
203
16k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
The Power of CSS Pseudo Elements
geoffreycrofte
74
5.4k
Transcript
Version control, workflows & deployments (with WordPress)
Me • PHP / Expression Engine / sysadmin @ statik.be
• WordPress developer/consultant @ on-edge.be • WordPress core contributor
Version control, workflows & deployments (with WordPress)
Have you ever: Accidentally removed to file over FTP?
Have you ever: Uploaded changes, broke the site and now
what?
Have you ever: Renamed a file to .old as a
backup?
Have you ever: Noticed a page was broken and your
last change was a month ago?
! ! FTP " !
Version control to the rescue!
.git Git is a distributed revision control system with an
emphasis on speed, data integrity, and support for distributed, non-linear workflows.
Basics • git init • git add • git commit
Remotes • git pull/push • git checkout
try.github.io
Apps • Sourcetree (Windows, Mac OS, Linux) • Tower (Mac
OS) • Github (Windows, Mac OS, Linux) Resources • http://git-scm.com/book/en/v2 • http://www.git-tower.com/learn/
None
Services • github.com • bitbucket.org • codebasehq.com • beanstalkapp.com •
dploy.io
Branches! !
None
None
None
Other features • git blame (who changed what and why)
• git bisect (find exactly where something broke) • .gitignore (uploads, config, backup) • git submobules (inculdes other git repo's in yours)
Git flow • Branching workflow • Built into SourceTree &
Tower Branch model • master/develop • features (starts from develop) • releases (merges develop into master) • hotfix (starts from master)
git push > deploy • Know when your changes are
live • Roll back when something breaks • Everyone can deploy • NO MORE FTP
Services • beanstalkapp.com (hosting + deploy) • dploy.io (hosting +
deploy) • deployhq.com (deploy) • codeship.io (ci + deploy)
⌘ + ?
⌘ + Q
[email protected]
twitter.com/jannemans github.com/janhenckens