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?
- Dev, Stage and Production Deployment for WordPress Sites?
- design and development workflow
- Too many datadabse connections – upper ceiling mysql
- Can this site be built using wordpress?
- How to run a test WordPressMu to WordPress3 update?
- How to retrieve an image from a post and display it before excerpt of a post? [duplicate]
- WordPress development using Docker – how to share directories? [closed]
- Merging WordPress posts from different databases
- Woocommerce – remove product from category
- Categories: A Greenhorn Question on Strategy (Not Code)
- How do I publish only one page to production after making changes on staging?
- 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
- Difficulty importing my live site to local
- 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
- How to have yearly versions of same site with different content (like yearly conferences)?
- Controlled publishing in WordPress
- Redirect to another page using contact form 7? [closed]
- Extend WordPress Core Classes in OOP Theme?
- WordPress multisite – What’s the ideal setup for development/staging/production environments?
- How do you keep your live and and testing server?
- How to deal with internal links in blog while developing new site in WordPress?
- Creating duplicate WordPress site for development reasons
- Is there a way I can fetch the WordPress Developer Code References with an API?
- how to Update 15k products on plugin activation with meta_option
- rename wordpress wp-includes folder in directory [duplicate]
- WordPress Staging and Testing of Plugins Best Practices
- EC2 WordPress install asks for connection info when auto-updating
- Localhost wordpress access remote db wordpress website
- SymmetricDS in dev + prod workflow?
- Database migration issues – Error #1046 No database selected
- Suggestions to prepare a site which is 90% based on a plugin that’s still on beta stage?
- How to add testimonials with an image?
- WordPress product image sets smaller than before
- Staging redirecting to live site (under construction page)
- Including code from other themes in child themes
- Creating one user access account for all the multiple sites
- My products are showing “not in stock” and I don’t know why
- I want to share local developement and staging DB — Is this very smart or very stupid?
- Gutenberg Development vs Release version?
- Admin Custom Login loses settings on Code and Data migration
- Creating a staging area for WordPress.com site
- Same DB for live and dev versions
- Migrate php folder to WordPress
- How do I set up a test environment in a sub-folder?
- Best Way to Inventory the Media Library of a 200+ Multisite Installation?
- Woocommerce where to set the Price Suffix [closed]
- How to code a wordpress page properly? Dashboard or unique Theme files or alternative?
- Imported Posts missing summary text on staging site
- How to set up a development/staging site to make major changes to the theme then update on the live site?
- Is there any other ways to replicating changes on live from staging without pushing from git
- Settings > Permalinks – mod_rewrite ineffective if expression not preceded by /index.php/
- How to restrict product access to personal user uploads in WordPress