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
81
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
380
Responsive Images and WordPress 4.4 - WordCamp Berlin
janhenckens
1
450
Version control basics & continuous deployment
janhenckens
0
72
Other Decks in Programming
See All in Programming
Why Spring Matters to Jakarta EE - and Vice Versa
ivargrimstad
0
1.1k
GCCのプラグインを作る / I Made a GCC Plugin
shouth
1
150
C#/.NETのこれまでのふりかえり
tomokusaba
1
170
Sidekiqで実現する 長時間非同期処理の中断と再開 / Pausing and Resuming Long-Running Asynchronous Jobs with Sidekiq
hypermkt
6
2.8k
生成 AI を活用した toitta 切片分類機能の裏側 / Inside toitta's AI-Based Factoid Clustering
pokutuna
0
660
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
3
300
Server Driven Compose With Firebase
skydoves
0
410
CPython 인터프리터 구조 파헤치기 - PyCon Korea 24
kennethanceyer
0
250
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
4
1.3k
推し活の ハイトラフィックに立ち向かう Railsとアーキテクチャ - Kaigi on Rails 2024
falcon8823
6
2.4k
Identifying User Idenity
moro
6
8.4k
Tuning GraphQL on Rails
pyama86
2
1.1k
Featured
See All Featured
Writing Fast Ruby
sferik
626
61k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
Being A Developer After 40
akosma
86
590k
Docker and Python
trallard
40
3.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
A designer walks into a library…
pauljervisheath
202
24k
Practical Orchestrator
shlominoach
186
10k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Agile that works and the tools we love
rasmusluckow
327
21k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
160
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