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
98
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
430
Responsive Images and WordPress 4.4 - WordCamp Berlin
janhenckens
1
580
Version control basics & continuous deployment
janhenckens
0
80
Other Decks in Programming
See All in Programming
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
3
1.1k
Claude Code、ちょっとした工夫で開発体験が変わる
tigertora7571
0
200
TROCCOで実現するkintone+BigQueryによるオペレーション改善
ssxota
0
140
New in Go 1.26 Implementing go fix in product development
sunecosuri
0
380
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
170
Windows on Ryzen and I
seosoft
0
210
Rubyと楽しいをつくる / Creating joy with Ruby
chobishiba
0
210
メタプログラミングで実現する「コードを仕様にする」仕組み/nikkei-tech-talk43
nikkei_engineer_recruiting
0
160
15年目のiOSアプリを1から作り直す技術
teakun
1
610
CSC307 Lecture 15
javiergs
PRO
0
230
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
400
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
270
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
2
280
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
450
Navigating Weather and Climate Data
rabernat
0
130
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.1k
Paper Plane
katiecoart
PRO
0
47k
The SEO Collaboration Effect
kristinabergwall1
0
380
What's in a price? How to price your products and services
michaelherold
247
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Balancing Empowerment & Direction
lara
5
930
Paper Plane (Part 1)
katiecoart
PRO
0
5.2k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.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