3

Ive been using Gits version control system for local theme development on a Wordpress site. I decided to take advantage of WPEngine's git capabilities which has caused more frustration than not.

I am able to push, and I have my remotes set properly but I cannot for the life of me figure out how to define where the git repository goes. My goal is to push the repository into the themes directory so any changes I make locally once pushed get updated on the staging/live site. Any insight is greatly appreciated.

2
  • 1
    you can just use wppusher.com - or contact WPEngine's support. Commented Aug 2, 2018 at 21:46
  • Awesome, the wppusher plugin looks like exactly what i need! Also been back and forth with support for days.
    – Tyler
    Commented Aug 2, 2018 at 22:13

1 Answer 1

0

Wpengine expects the root of your repository to be the WordPress root. So even though you only want to keep your theme inside your git repo the repo's directory structure needs to be:

/wp-content/themes/my-theme/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.