问题描述
我正在尝试将一个文件夹添加到github存储库。该文件在github上显示为空,并且上面有一个绿色箭头。有谁知道如何解决这个问题?我很感谢你的帮助。谢谢。
这看起来类似于或in为了确保您摆脱了任何子模块引用。
I am trying to add a folder to a github repository. The file appears empty on github and has a green arrow on it. Does anyone know how to fix this problem? I would appreciate your help. Thanks.
This seems similar to the "Git - how to track untracked content?", where a folder got added as a "gitlink":
That is what is represented by a green arrow in GitHub: a submodule, as shown in the GitHub submodule help page:
What you did is essentially adding the submodule content in your Git repo.
You may want to check "How do I remove a git submodule?" or "un-submodule a git submodule" in order to be sure you got rid of any submodule reference.
这篇关于Github - 上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!