Cannot add to github: Gist does not support directories

Eel*_*els 14 git gist github

I get the error when trying to push to github:

remote: Gist does not support directories.
remote: These are the directories that are causing problems:
remote: dirname1, dirname2
Run Code Online (Sandbox Code Playgroud)

Looking at other questions, it seems that github doesn't accept empty folders but none of these folders are empty. I can successfully push other files that are inside the root folder of the repository, and can also successfully deploy the app to heroku using git.

How do I add a directory to github's gist ? What am I doing wrong here ?

jor*_*deu 11

这是不可能的,使用存储库.Gists仅用于文件,请查看github开发人员的评论:

https://twitter.com/pavelrepin/status/297473901884223488

  • 请复制这里的评论.对不起,该页面不存在! (11认同)
  • 是的,通常是因为它不能直接重用,但仍需要多个目录。多可惜。 (2认同)