Can you clone two different repositories from CodeCommit into the same EC2 instance?
Hello, I would like to use a module from one repository while running my main file from a different repository - both in CodeCommit in the same AWS account. I read that if both repositories exist I can use sys.path. The question is can I clone both repositories to the same EC2 instance (on which I run my main function)? Thanks.
Yes, you can clone one repo while inside the working directory of another. (If you're going to work on the files, be wary about accidentally adding/committing the files from the second repo into the first one though.)
If you would like to record the fact that the first repo uses the second repo as a module and have git handle it for you, you might want to look into Git Submodules.
Amplify build error "Could not read from remote repository"asked 3 years ago
How to clone a Bitbucket repo from a Springboot microservice running on AWS EKS?asked 2 months ago
Lifecycle scripts to access the notebook instance git repositoryasked 3 years ago
Can you clone two different repositories from CodeCommit into the same EC2 instance?Accepted Answerasked 3 months ago
Repository Clone Failed error in VS2017asked 4 years ago
Can I attach a VPC to two different TGW's in the same region?Accepted Answerasked 2 years ago
create clone of ec2 instance in two AZasked 2 months ago
Can you use an Amazon ECR private repository with LightSail?Accepted Answerasked 6 months ago
EC2: telnet one instance from another instanceasked 5 months ago
Unable to 'sudo git clone...' a repository using ubuntu instanceasked 5 months ago