在GitHub仓库中如何创建一个文件夹?

huangapple go评论52阅读模式
英文:

How to create a folder in the repository in GitHub?

问题

我是GitHub上的新用户,我需要在我的GitHub账户的仓库里创建一个文件夹来分类代码。但我不知道该怎么做。

我尝试创建文件夹,但失败了。我找不到合适的选项来执行此操作。在创建新仓库后,在“创建新文件”之前我应该做什么?

英文:

I'm a new user in GitHub and I need to create a folder in the repository in my Github account to classify codes. But I don't know how I can do it.

I tried to create a folder but I couldn't. I couldn't find appropriate options to do that. After creating a new repository, what can i do before "creating a new file" in that repository?

答案1

得分: 0

我注意到了同样的事情!我相信有更好的方法来解决这个问题,但我的解决方案是进入“上传文件”部分,然后只需上传一个空文件夹(甚至已经包含您想要的文件的文件夹)。

英文:

I noticed the same thing! I'm sure there is a better way to do it, but my solution was to go to the "upload files" section and just upload an empty folder (or even one that already has the files you want in it).

huangapple
  • 本文由 发表于 2023年5月14日 05:28:33
  • 转载请务必保留本文链接:https://go.coder-hub.com/76244956.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定