【发布时间】:2012-09-14 00:19:51
【问题描述】:
我正在使用适用于 Mac (version 0.6.2 of the tools, 1.0.1 of the azure tools installer for MacOS) 的 azure 命令行工具,我正在尝试使用以下命令创建一个带有 git 存储库的网站:azure site create MyUniqueApp --git。
我一直看到这个:
$ azure site create MyUniqueApp --git
info: Executing command site create
+ Enumerating locations
+ Enumerating sites
info: Updating existing site
+ Retrieving user information
error: Access is denied.
error: site create command failed
不带--git 选项运行相同的命令是成功的。
$ azure site create MyUniqueApp
info: Executing command site create
+ Enumerating locations
+ Enumerating sites
info: Using location North Europe
info: Creating a new web site at MyUniqueApp.azurewebsites.net
+ Sending site information
info: Created website at myuniqueapp.azurewebsites.net
info: Initializing remote Azure repository
+ Updating site information
info: Repository initialized
+ Retrieving site information
info: To create a local git repository to publish to the remote site, please rerun this command with the --git flag: "azure site create MyUniqueApp --git".
info: site create command OK
我错过了什么?
【问题讨论】:
-
您是否为您的帐户下载并导入了发布设置文件?
-
帐户下载和帐户导入也是我的选择。我赌的是redhotvengeance。 (说起来很有趣)
-
RHV 可能应该作为未来访客的答案发布。
-
我确实使用了
azure account download和azure account import. Notice that the command works if I don't specify--git`
标签: git deployment command-line azure web