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
460
Version control basics & continuous deployment
janhenckens
0
72
Other Decks in Programming
See All in Programming
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
770
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
The Efficiency Paradox and How to Save Yourself and the World
hollycummins
1
440
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
430
useSyncExternalStoreを使いまくる
ssssota
6
1k
Haze - Real time background blurring
chrisbanes
1
510
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
930
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
360
CSC305 Lecture 25
javiergs
PRO
0
130
Featured
See All Featured
Become a Pro
speakerdeck
PRO
26
5k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
The Cost Of JavaScript in 2023
addyosmani
45
7k
Practical Orchestrator
shlominoach
186
10k
GraphQLとの向き合い方2022年版
quramy
44
13k
Raft: Consensus for Rubyists
vanstee
137
6.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
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