USER_NAME="<user_name>"
USER_EMAIL="<user_email>"
sudo yum install -y git
git config --global credential.helper '!aws codecommit credential-helper $@'
git config --global credential.UseHttpPath true
git config --global user.name $USER_NAME
git config --global user.email $USER_EMAIL
Shell
복사
git init
git add .
git commit -m "message"
git checkout -b <branch>
git push origin <branch>
Shell
복사

