本文介绍了在Ubuntu的git仓库设置AWSDevTools-RepositorySetup.sh的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到以下错误,当我运行安装程序在我混帐回购协议AWSDevTools。

I am receiving the following error when I run the setup for AWSDevTools inside my git repo.

[:未找到 CP:不能与stat /home/user/aws/.git/scripts:没有这样的文件或directory`

[[: not found cp: cannot stat/home/user/aws/.git/scripts': No such file or directory`

我复制脚本从AWSDevTools直接.ZIP的混帐回购协议文件夹,然后收到此错误:

I copied the scripts folder from the AWSDevTools .zip directly to the git repo and then received this error:

[:未找到 CP:无法创建目录的.git / AWSDevTools:没有这样的文件或directory`

[[: not found cp: cannot create directory.git/AWSDevTools': No such file or directory`

复制AWSDevTools从.zip改为仓库,以及思维的安装程序只是希望这些文件夹中的回购运行,但我不断收到同一个目录中的错误。任何帮助将是巨大的。

copied AWSDevTools from .zip to the repository as well thinking the installer just wanted these folders in the repo to run but I continued to receive the same directory error. Any help would be great.

推荐答案

假设你的回购是 /家庭/用户/ AWS / 。混帐文件夹中),

Assume your repo is at /home/user/aws/ (.git folder inside),

您AWSDevTools处于 /home/user/AWS-ElasticBeanstalk-CLI-2.3/AWSDevTools/Linux

Your AWSDevTools are at /home/user/AWS-ElasticBeanstalk-CLI-2.3/AWSDevTools/Linux

然后,你应该能够遵循以下步骤:

Then you should be able to follow these steps:

1)打开命令提示符,光盘 /家庭/用户/ AWS (你的回​​购)

1) Open a command prompt, cd to /home/user/aws (your repo)

2)运行<$c$c>/home/user/AWS-ElasticBeanstalk-CLI-2.3/AWSDevTools/Linux/AWSDevTools-RepositorySetup.sh.

3)混帐aws.config

4)输入AWS细节

然后你可以 git的添加 git的承诺混帐aws.push 。让我知道了什么​​错误,你用这些步骤得到。

Then you can git add, git commit, and git aws.push. Let me know what error you get with these steps.

这篇关于在Ubuntu的git仓库设置AWSDevTools-RepositorySetup.sh的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-29 06:40