我如何在 Cloud9 (c9.io) 上编辑 gitignore,以便我可以将 .c9revisions/文件夹添加到其中,以避免将其添加到我在 github 上的存储库中。
每次我使用 git config --global core.excludesfile ~/.gitignore_global 它什么都不做,谁能帮我解决这个问题,谢谢。
最佳答案
那个Google+ tips提及:
tip: edit your
.gitignore
file even though it doesn't show in the "project files
":At the command line, simply enter:
open .gitignore
and see the file display and edit in a new tab.
Save, commit, etc.
来自 this issue ,看起来 Cloud9 仍然没有自动忽略 .c9revisions
文件夹(和 settings.xml
,以及与 C9 相关的所有其他内容)。
OP Sergio Robledo Arango提到他必须创建该文件:
关于git - 如何在 c9.io 上使用 gitignore 添加 .c9revisions/文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19409158/