简体   繁体   English

如何在AWS CodeCommit存储库中创建文件夹?

[英]How to create folder in AWS CodeCommit repository?

I am new to these things.I have created repository in AWS CodeCommit. 我对这些东西不熟悉。我已经在AWS CodeCommit中创建了存储库。 I want to create a folder in it and upload files using CodeCommit Console. 我想在其中创建一个文件夹并使用CodeCommit Console上传文件。 Is it possible? 可能吗? Then how can I do it? 那我该怎么办呢?

Yes, you can! 是的你可以!

From the CodeCommit dashboard, click on your new repository to go to the 'Code' tab. 在CodeCommit仪表板中,单击新的存储库以转到“代码”选项卡。 Under your repository description, there should be a 'Add file' dropdown. 在您的存储库描述下,应该有一个“添加文件”下拉列表。 Choose this, then 'Create file'. 选择此选项,然后选择“创建文件”。

In the 'file name' field, specify the whole path to the file you wish to create. 在“文件名”字段中,指定要创建的文件的完整路径。 If the specified folders do not exist inside your repository already, they will be created. 如果指定的文件夹在您的存储库中尚不存在,则将创建它们。 Fill in the remaining fields and choose 'Commit file'. 填写其余字段,然后选择“提交文件”。

Ex) If you want 'src/foo/FooFile.java' in your empty repository, then just use 'src/foo/FooFile.java' and the 'src' and 'foo' folders should be created for you. 例)如果要在空存储库中使用“ src / foo / FooFile.java”,则只需使用“ src / foo / FooFile.java”,然后应为您创建“ src”和“ foo”文件夹。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM