gpt4 book ai didi

git - 如何在 c9.io 上使用 gitignore 添加 .c9revisions/文件夹

转载 作者:太空狗 更新时间:2023-10-29 13:51:53 26 4
gpt4 key购买 nike

我如何在 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提到他必须创建该文件:

https://skitch-img.s3.amazonaws.com/20121001-k6fj6ng8hmrpbj5hn7kcyy6fh2.png

关于git - 如何在 c9.io 上使用 gitignore 添加 .c9revisions/文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19409158/

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