Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
AWS CodeCommit is a git
code repository service by Amazon Internet Companies.
It would be best to clone your repository and setup your remotes utilizing credential helper
.
git config --global credential.helper '!aws codecommit credential-helper [email protected]'
git config --global credential.UseHttpPath true
It will write to your native person’s ~/.gitconfig
, and the file will look one thing like:
[credential]
helper = !aws --profile CodeCommitProfile codecommit credential-helper [email protected]
UseHttpPath = true
You possibly can edit this file by working the next git
command:
git config --global --edit
By connecting to the CodeCommit repository with HTTPS, the entry is by default momentary, and connections will begin failing after about quarter-hour.
To repair this, you should:
git-codecommit.us-east-2.amazonaws.com
. Spotlight the row, open the context menu or right-click it, after which select Get Information.git-credential-osxkeychain
, after which select the minus signal to take away it from the checklist.After you take away git-credential-osxkeychain
from the checklist, you see a pop-up message everytime you run a Git command. Select Deny to proceed. For those who discover the pop-ups too disruptive, listed below are another choices:
At this stage now you can git clone
the repository in CodeCommit.
Open the CodeCommit console at https://console.aws.amazon.com/codesuite/codecommit/house.
Discover the repository you wish to connect with from the checklist and select it. Select Clone URL, after which select the protocol you wish to use when cloning or connecting to the repository. This copies the clone URL.
git clone https://git-codecommit.us-east-2.amazonaws.com/v1/repos/your-repo your-repo-directory
If you’re cloning as a part of a profile title
in your ~/.aws/config
, then you’ll need to set the AWS_PROFILE
surroundings variable as follows:
export AWS_PROFILE = "<profile_name"