S3同步排除.gitgnore的附带

时间:2018-07-19 13:04:46

标签: amazon-web-services amazon-s3 aws-cli

无论如何,是否要为aws s3 sync命令指定以排除.gitignore文件中概述的文件模式?

我有一个代码构建管道,我想触发它​​,但是让它针对我的本地文件运行以测试我不想签入的更改。

1 个答案:

答案 0 :(得分:0)

您需要将.gitignore信息转换为AWS Command-Line Interface (CLI)期望的--exclude格式。

请参阅:Using High-Level s3 Commands with the AWS Command Line Interface