Last active
August 13, 2017 06:59
-
-
Save queirozsc/e12673510a3db9c0749eaeccb0c30616 to your computer and use it in GitHub Desktop.
[codecommit] O AWS CodeCommit é um serviço de controle de fonte totalmente gerenciado que permite que as empresas hospedem repositórios Git seguros e altamente escaláveis. #aws #codecommit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Creating branches for your CodeCommit repository | |
aws codecommit create-branch --repository-name [repositoryname] --branch-name [branchname] --commit-id [commitid] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Creating your CodeCommit repository | |
aws codecommit create-repository --repository-name [repositoryname] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws codecommit get-branch --repository-name [repositoryname] --branch-name master |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Granting permissions for your user account to use AWS CodeCommit | |
aws iam attach-user-policy --user-name sergio.queiroz --policy-arn arn:aws:iam::aws:policy/AWSCodeCommitFullAccess | |
aws iam attach-user-policy --user-name sergio.queiroz --policy-arn arn:aws:iam::aws:policy/IAMReadOnlyAccess | |
aws iam attach-user-policy --user-name sergio.queiroz --policy-arn arn:aws:iam::aws:policy/IAMSelfManageServiceSpecificCredentials |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment