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

标签 git azure azure-web-app-service orchardcms

我已经通过 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/

相关文章:

azure - AADSTS70001 : Application is not supported for this API version

azure-web-app-service - Azure Web Apps 上的网页设计机构/创意机构的标准设置是什么?

git - 无法打开 'client (Working Tree)' : Unable to read file

azure - 如何在 access_token 中添加角色声明,目前它是在 id_token 中?

azure - 如何为Azure DCOS配置子域?

Azure 应用服务 Kudu 工具 "LogFiles"自动删除 - 容器应用服务 (linux)

混帐 pull : replace local version with the remote version

git - 如何阻止 XCode 4 修改本地 Git 存储库?

Git 因 fatal error 而失败。错误 : open permission denied fatal: unable to process path

azure - 如何在Go中正确配置重试以上传到Azure Blob存储