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?
Asked
Active
Viewed 375 times
-1
-
Are you asking how to use git, or something else? – jarmod Dec 12 '22 at 13:19
-
Not git, from CodeCommit console how can we upload the entire project folder? – Chithal Dec 12 '22 at 13:27
-
1The CodeCommit console doesn't appear to support the upload of a folder. Use git. – jarmod Dec 12 '22 at 13:50
1 Answers
1
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.

Daniel Lemke
- 1,966
- 18
- 24