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

标签 git github cloud gitignore cloud9-ide

我如何在 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/

相关文章:

amazon-web-services - 是否可以在 docker 容器上安装 AWS FSX 存储?

text - 什么是适合云的优秀文本编辑器?

Git子模块更新

java - 从 Git 自动部署 Grails/Java web 应用程序到 Tomcat7

github - 多个 github 存储库智能提交到单个 Jira 项目

jenkins - jenkins 有什么办法可以通过轮询 Github 来自动构建而不需要 Hook 吗?

c# - .NET 有什么好的分布式代理/服务模型吗?

Git 仅在特定文件上撤消自动 merge ,而不是整个分支

git - 忽略Git中特定文件中的一行

git - 如何在 LibGit2Sharp 中使用新的 CredentialsProvider?