Skip to content

Instantly share code, notes, and snippets.

@jameshiggins
Created March 27, 2023 01:26
Show Gist options
  • Save jameshiggins/258ed83b0c483091e6b3c3c02f34f20a to your computer and use it in GitHub Desktop.
Save jameshiggins/258ed83b0c483091e6b3c3c02f34f20a to your computer and use it in GitHub Desktop.
Wpengine git rempote docs
git remote add production git@git.wpengine.com:prodenvname.git
git remote add staging git@git.wpengine.com:stageenvname.git
git remote add development git@git.wpengine.com:evenvname.git
In the above commands be sure to replace prodenvname, stageenvname, and devenvname with the unique User Portal names of each environment.
You may also rename the “production,” “staging,” and “development” remotes names, if you prefer. We suggest naming them according to their role in your Site to avoid any confusion down the road.
For example:
git remote add mysitename-production git@git.wpengine.com:myprodenvname.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment