在不使用Git的情况下在github.com repo中创建文件夹(Creating folders inside github.com repo without using Git)

编程入门 行业动态 更新时间:2024-10-09 10:31:32
在不使用Git的情况下在github.com repo中创建文件夹(Creating folders inside github.com repo without using Git)

我想添加一个新的文件夹到我新创建的GitHub存储库,而不安装Git设置(Mac / Linux / Win)。 有可能吗?

当我在不同的系统/机器上工作时,我不能一直使用Git 。 我知道如何直接在github.com/[USER]/[REPO]的repo中添加文件。 我们可以创建一个文件夹吗?

I want to add a new folder to my newly created GitHub repository without installing the Git setup for (Mac/Linux/Win). Is it possible to do so?

I can't have Git all the time with me when I work on different systems/machines. I know how to add files directly in a repo on github.com/[USER]/[REPO]. Can we create a folder as well?

最满意答案

搜索很多之后,我发现可以从Web界面创建一个新的文件夹,但是在创建文件夹时需要至少有一个文件。

当使用通过Web界面创建新文件的常规方式时,可以将该文件夹输入到文件名中以在该新目录中创建文件。

例如,如果我想在一系列子文件夹中创建文件filename.md,我可以这样做(取自GitHub Blog):

在此输入图像说明

After searching a lot I find out that it is possible to create a new folder from the web interface, but it would require you to have at least one file within the folder when creating it.

When using the normal way of creating new files through the web interface, you can type in the folder into the file name to create the file within that new directory.

E.g. If I would like to create the file filename.md in a series of sub-folders, I can do this (taken from the GitHub Blog):

enter image description here

更多推荐

本文发布于:2023-08-06 10:33:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1448355.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:文件夹   情况下   github   Git   folders

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!