我目前正在使用VSTS来托管包含WordPress网站的git存储库。我想使用SSH将此存储库推送到远程(wpengine)。我目前没有看到如何做到这一点并且在构建可以执行此操作的版本方面收效甚微 - 没有任何指南和插件的文档在这里看起来有用并不是很完整。 VSTS版本中是否有内置功能允许这样做?
答案 0 :(得分:1)
My work flow is to push up into a remote repository and pull down, ssh'd into your site. This always for you to commit back to a working version of your staging/production site if a bug is caught, it allows for a workflow where a pull request can be issued and reviewed if necessary and of course, a single point, where code can be reverted if necessary.
Here is my paraphrased workflow:
These are the instructions: https://www.visualstudio.com/en-us/docs/setup-admin/team-services/use-personal-access-tokens-to-authenticate
**salessite is the name of the repo
Be sure to have the ending period(.) as this will fill in the contents of the directory without the directory name.
Hope this is helpful. I working on a tutorial for using Visual Studio git setup coming up.