Amazon web services AWS Cloudformation中的Git全局配置设置

Amazon web services AWS Cloudformation中的Git全局配置设置,amazon-web-services,amazon-cloudformation,git-config,aws-cloudformation-custom-resource,Amazon Web Services,Amazon Cloudformation,Git Config,Aws Cloudformation Custom Resource,我试图在AWS Cloudformation模板中配置Git全局变量,例如用户名、电子邮件,但无法确定如何进行配置。你能告诉我怎么做吗 git config --global user.name "FOO BAR" git config --global user.email "FOOBAR@foobar.com"

我试图在AWS Cloudformation模板中配置Git全局变量,例如用户名、电子邮件,但无法确定如何进行配置。你能告诉我怎么做吗

git config --global user.name "FOO BAR"
git config --global user.email "FOOBAR@foobar.com"