There is main idea this chain:
Your local computer Git repo <-> AWS CodeCommit Git repo <-> Any path and folders for site(his copy another domain names) on server Git repo
AWS CodeCommit service is central repository for Git.
You can check it in local Git version.
#git remote -v
origin ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/laravel (fetch)
origin ssh://git-codecommit.us-east-1.amazonaws.com/v1/repos/laravel (push)
CLI CodeCommit docs – https://docs.aws.amazon.com/cli/latest/reference/codecommit/index.html
Short instruction for use AWS CLI for simple projects
This is list minimum commands for console “aws”:
The most Important command
#git [any command] –help
and
#aws codecommit [any-command] help
and first look EXAMLPE command in this help!
Sometimes aws pass through branches after push, then you can upload specific branch
#git push –set-upstream origin any-branch-name