gpt4 book ai didi

git - 从 Azure 中提取 Orchard 实例的更新

转载 作者:行者123 更新时间:2023-12-03 01:48:09 25 4
gpt4 key购买 nike

我已经通过 Azure 一键安装设置了 Orchard CMS。最初通过运行提取代码:

git remote add azure https://<username>@localgitdeployment.scm.azurewebsites.net:443/localgitdeployment.git

然后我做了一个 pull (保持简单):

git pull azure master

所以我在本地有存储库,但是使用 CMS,我可以通过管理面板添加模块等...并在 Azure 上更新,但是当我尝试使用与上面相同的方法进行 pull 或获取时,它说我是最新的,但新模块没有在本地显示。

我没有设置分支,因为我只使用“master”分支。

很好奇,我哪里出了问题?

非常感谢。

最佳答案

在 Azure Web App 中更改文件后,您需要通过执行“git commit”命令来提交这些更改。然后您可以将这些更改 pull 到您的本地。以下步骤供您引用。

  1. 打开 Azure Web 应用的 KUDU 站点。
  2. 导航至 wwwroot 文件夹。
  3. 执行以下命令。
git add .
git commit -m addnewfiles

enter image description here

关于git - 从 Azure 中提取 Orchard 实例的更新,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43265900/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com