Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hariby/2b06fe1098282376db07655b5931ce27 to your computer and use it in GitHub Desktop.
Save hariby/2b06fe1098282376db07655b5931ce27 to your computer and use it in GitHub Desktop.
#!/bin/bash
set -e
sudo -u ec2-user -i <<'EOF'
git clone https://github.com/awslabs/git-secrets.git
cd git-secrets/
sudo make install
git secrets --register-aws --global
git config --global user.name "Yoshitaka Haribara"
git config --global user.email hariby@amazon.com
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment