Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 847

Git is a popular, open-source distributed version control system (DVCS). It can be used to track and revert changes to a code base like a theme or plugin.

4 votes
Accepted

git and local wordpress: how to handle wordpress updates?

this: repository should capture complete and precise state of site updates should be tested locally and pushed to production database update events should run in production reliably Sticking with Git
Rarst's user avatar
  • 99.9k
3 votes
Accepted

Git vs Child Theme

While I know version control approach to be used in practice, I don't think it's too common. WP has weak version control practices in general, so development of extensions doesn't quite plan for such. …
Rarst's user avatar
  • 99.9k
0 votes

Git Deploying - Disabling plugin/theme installation/update on remote?

There are quite a few related bits you can tinker with, but the one most comprehensive setting for version controlled stack is define( 'DISALLOW_FILE_MODS', true );. It will disable anything related t …
Rarst's user avatar
  • 99.9k
12 votes
Accepted

How to look at code in WordPress repositories without downloading?

Good news and more good news! First - all of the code related to WordPress itself and its repositories resides in version control system (Subversion). Among other things that makes publicly available …
Rarst's user avatar
  • 99.9k
8 votes

How should I structure a WP website project using git and updating from WP dashboard?

From my perspective there are two issues with your plan - Git and "conventional" structure. So basically everything. :) Git (and version control in general) is a poor tool for whole site stacks. … WordPress core isn't developed in Git and doesn't accept pull requests, all contributions are (so far) via patch files to Subversion. You'll likely have to commit such plugins into your repo. …
Rarst's user avatar
  • 99.9k
3 votes

How to: Update live sites theme from version control repo via plugin or library?

We are using Mercurial via Bitbucket, but same logic applies: Clone repository to server. Protect it from being web-accessed. Create PHP script that will issue pull and update command to the repo. S …
Rarst's user avatar
  • 99.9k
0 votes
Accepted

Theme/Plugin/Widget Data and Staging/Production Servers

Native WordPress import/export file is focused very tightly on content. It is not meant and cannot (or at least no one bothers to try bend it that way) accurately represent the state of whole site. T …
Rarst's user avatar
  • 99.9k
0 votes
Accepted

How to upload/update theme from local - bitbucket - shared hosting?

The simplest possible way for the conditions you had given (Bitbucket and server with Git) would be to: Have Bitbucket make web hook call to your server. …
Rarst's user avatar
  • 99.9k
4 votes
Accepted

How can I sync WordPress plugin settings between environments?

The reliable two–way sync is simply not something that have happened in WordPress. The typical way is in line with what you are doing — pulling a copy of production database into development environm …
Rarst's user avatar
  • 99.9k