我想添加一个新的文件夹到我新创建的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):
更多推荐
发布评论