【发布时间】:2015-04-06 02:58:11
【问题描述】:
在我的 AWS Elastic Beanstalk 环境中的哪里可以找到 .git 文件夹?我通过 ssh 进入我的 EC2 实例,运行 find / -name ".git" 但它没有返回任何结果。
我为什么要问?我通常使用.git/refs/heads/master 文件来获取我放入静态文件末尾的提交版本哈希。示例:
<link type="text/css" href="http://example.com/theme/global.css?60c9afa3e9" />
如果我找不到 .git 文件夹,则无法使用 AWS EB 执行此操作。
【问题讨论】:
标签: git amazon-ec2 amazon-elastic-beanstalk