There’s a good article at WP Tavern that suggests some good methods. There is also a plugin called WP Pusher.
With regard to using the different domains, like dev, staging, production, etc. you could set up different remote repos for dev, staging, production, etc. And then you can push to them individually depending on what stage of development you are in.
However, if you are using Ubuntu locally, I would set up a quick LAMP stack for your development environment. That way, you could see changes live without needing to push to your remote repo each time you make a change.
Related Posts:
- WordPress database synch between dev and prod
- How to sync staging to production but keep plugin settings
- WordPress Staging Site
- Where do I build my updated website?
- How to: Easily Move a WordPress Install from Development to Production?
- Database synchronization between dev/staging and production
- Ways of managing staging and production wordpress sites?
- Migrate Changes from a Staging Site to Production
- Staging a WordPress site with WP-Deploy
- Maintaining synced staging/production WP sites
- Syncing production with staging
- How do you add pages on a staging server, and then move them over to production
- What actions affect files, DB, or both?
- Different color admin bars for dev, staging and production
- Best practice differences in DB options and wp-config between live, staging and local WordPress environments?
- Using second site as staging area
- Create brand-new re-designed site without affecting live site?
- Staging environment for pages only
- Multiple users working on WordPress admin at the same time [closed]
- WordPress & WooCommerce: Localhost, Staging and production environments and how to sync them without losing data
- Published site reverts without changes to theme
- Staging only for Theme Files and Changes
- Staging Sites: What to push through?
- What are some tools for password protecting a staging site?
- Publishing WordPress from stage to production server
- production site routes to staging site after cloning
- How best to keep my localhost on Http while my Remote production is on Https
- Push from staging to live site?
- Staging site offline
- Merging new theme and plugins from development site to production
- Locked out when attempting a migratoin
- how to move particular functionality to staging server
- Theme/Plugin/Widget Data and Staging/Production Servers
- Graphic design changes on Staging before moving to Production?
- Staging/production deployment on WordPress MultiSite
- Development to production, how to move a development site from http + dev.example.com to a production site https + example.com?
- Compare WordPress Staging and Development
- git add only modified changes and ignore untracked files
- Why should define(‘RELOCATE’,true) be removed from wordpress config?
- Best way to initiate a class in a WP plugin?
- Dev, Stage and Production Deployment for WordPress Sites?
- Keeping WP database synced across multiple developers using git
- How do you avoid caching during development?
- Strategy On Building Plugin Using Eclipse
- DB connection error after copying a WordPress Multisite instance to a second location
- How do I add version control to my workflow?
- Staging sites, how do you manage synchronising updates in the DB?
- design and development workflow
- WordPress PHP error handling and reporting in production environment
- Most Flawless Way To Transfer from Dev to Prod [duplicate]
- WordPress as College Application System (Embark)
- Does WordPress not use relative URLs?
- How to edit an existing WordPress theme? [closed]
- Pushing changes from localhost to live server?
- WordPress Active and Development server best practices
- Change management solution for BP-based site?
- Too many datadabse connections – upper ceiling mysql
- Can this site be built using wordpress?
- Cloning and syncing a WordPress website
- How to run a test WordPressMu to WordPress3 update?
- Staging Site: Made Public – Security Questions
- Flexible WordPress theme creation using themes
- How to retrieve an image from a post and display it before excerpt of a post? [duplicate]
- Is it possible to import a wordpress backup from a single site in to a multi-site configuration?
- Staging setup for multisite installation
- WordPress development using Docker – how to share directories? [closed]
- Merging WordPress posts from different databases
- Best Practice for Syncing Local Development With Staging Development [closed]
- Clone plugins (and settings) to new installation?
- Why WordPress architecture is not pure object oriented and it don’t use MVC pattern? [closed]
- Woocommerce – remove product from category
- Categories: A Greenhorn Question on Strategy (Not Code)
- WordPress as thesaurus/dictionnary: what approach?
- How do I publish only one page to production after making changes on staging?
- Can I develop a WordPress site without a domain?
- Staging sites era: does it still makes sense to develop locally?
- WordPress Multisite – configuring a local development copy
- Is It Always a Best Practice to Decouple the Frontend from the Admin Area When Developing a WordPress Application?
- WordPress staging environment that syncs everything except posts?
- Override database config for WordPress multiblog
- Get Current Menu Location inside Nav_Walker
- get current product name in functions.php
- How can I capture Memberpress user info after signup [closed]
- Why is my staging subdomain not sending wordpress_logged_in cookies?
- Child theme works in local environment but is not working on remote
- How can I update dev links for a live site?
- media ‘path’ issue / concern when bringing files live
- Building plugin with changeable custom post type values…advice needed
- Difficulty importing my live site to local
- Custom Plugin – Package and Deployment Solutions
- Move first half of posts to one parent page, second half to the other page
- Is there a way to create custom product templates based on category on WooCommerce?
- Why is WordPress rewriting absolute URLs on staging site to include staging prefix when we manually point them at the live site?
- htaccess, site and staging in subdirectories
- Best way to initiate a class in a WP plugin?
- how can I edit flexslider in woocommerce. [Urgent]
- WooCommerce – buying as well as selling
- Work flow for multiple developers
- best way to make a WordPresss multisite that is secure but at the same time supporting my plugin development efforts
- Migrating hosts, 500 errors and plugin issues