gpt4 book ai didi

git - 无法推送到 GitHub : Gist does not support directories

转载 作者:IT王子 更新时间:2023-10-29 00:43:30 32 4
gpt4 key购买 nike

在尝试将包含文件夹的 Gist 推送到 GitHub 时出现此错误:

remote: Gist does not support directories.
remote: These are the directories that are causing problems:
remote: dirname1, dirname2

看其他问题,好像GitHub Gist不接受空文件夹,但是这些文件夹都不是空的。我可以成功推送存储库根文件夹中的其他文件,也可以使用 Git 将应用程序成功部署到 Heroku。

如何将目录添加到 GitHub 的 Gist?我在这里做错了什么?

最佳答案

不可能,使用存储库。 Gists 仅适用于文件。

关于git - 无法推送到 GitHub : Gist does not support directories,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27677382/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com