无论如何,是否要为aws s3 sync
命令指定以排除.gitignore
文件中概述的文件模式?
我有一个代码构建管道,我想触发它,但是让它针对我的本地文件运行以测试我不想签入的更改。
答案 0 :(得分:0)
您需要将.gitignore
信息转换为AWS Command-Line Interface (CLI)期望的--exclude
格式。
请参阅:Using High-Level s3 Commands with the AWS Command Line Interface