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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jan Henckens
February 16, 2015
Programming
110
0
Share
Version control, workflows and deployments with WordPress
Jan Henckens
February 16, 2015
More Decks by Jan Henckens
See All by Jan Henckens
Google Tag Manager (WP Antwerp, November 2015)
janhenckens
0
450
Responsive Images and WordPress 4.4 - WordCamp Berlin
janhenckens
1
600
Version control basics & continuous deployment
janhenckens
0
87
Other Decks in Programming
See All in Programming
プラグインで拡張される Context をtype-safe にする難しさと設計判断
kazupon
2
580
Spec-Driven Development with AI-Agents: From High-Level Requirements to Working Software
antonarhipov
2
440
Lessons from Spec-Driven Development
simas
PRO
0
140
Old Dog, New Tricks: The Java 25 Reinvention - JNation
bazlur_rahman
0
140
AIとRubyの静的型付け
ukin0k0
0
530
The NotImplementedError Problem in Ruby
koic
1
560
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.2k
エージェンティックRAGにAWSで入門しよう!
har1101
7
880
Oxlintのカスタムルールの現況
syumai
5
990
セキュリティの専門家じゃなくてもできる。「セキュリティ意識」をアップデートして サプライチェーン攻撃への耐性を高めよう。
tk3fftk
5
610
net-httpのHTTP/2対応について
naruse
0
440
今さら聞けないCancellationToken
htkym
0
220
Featured
See All Featured
Are puppies a ranking factor?
jonoalderson
1
3.5k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
The Language of Interfaces
destraynor
162
27k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
220
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
Google's AI Overviews - The New Search
badams
0
1k
sira's awesome portfolio website redesign presentation
elsirapls
0
270
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
160
We Have a Design System, Now What?
morganepeng
55
8.2k
Code Review Best Practice
trishagee
74
20k
The Pragmatic Product Professional
lauravandoore
37
7.3k
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