Home > Blockchain >  How to upload entire Code's folder to AWS CodeCommit?
How to upload entire Code's folder to AWS CodeCommit?

Time:12-13

How to upload a project folder to AWS CodeCommit repository? I can see that I can only upload a single file from the CodeCommit console. Is it possible to upload all the items in the folder (Entire folder) at once?

CodePudding user response:

The CodeCommit console is primarily for managing repositories, their branches, approval rules, etc., but not for interacting with the content of the git-based repositories themselves. For committing files or directories, the appropriate git command (git add etc.) is more feasible than using the AWS Console, CLI or API.

However, if this is primarily about initializing a repository with a blueprint or project template, you can also upload the content to S3 and create a new CodeCommit repository using CloudFormation, see here.

  • Related