.gitignore 文件不会显示在 Cloud9 文件面板中

.gitignore file won't show in Cloud9 file panel

我正在 ruby rails 应用程序上工作。我用的是Cloud9在线IDE,也就是Ubuntu.

当我转到根目录时,无法打开我的.gitignore 文件。我知道我来对地方了,因为当我进入 root 并输入 ls -la 它会列出我的所有文件,包括 .gitignore

我看过其他帖子,有些人建议使用 opensee,然后是 .gitignore。他们总是为 OP 工作。 但是他们都不适合我。

我试过这个:

open .gitignore`

但是当我使用它时,出现以下错误:

Couldn't get a file descriptor referring to the console

当我使用这个命令时:

see .gitignore

我收到以下错误:

Warning: unknown mime-type for ".gitignore" -- using "application/octet-stream"
Error: no "view" mailcap rules found for type "application/octet-stream"

如果有人知道发生了什么,请帮助我。除了使用上面的两个命令之外,我无法从其他线程找到任何其他修复程序。

你能在左侧栏中看到它吗?如果没有,请在左侧栏中单击小齿轮图标,然后单击 'show hidden files'。

希望对您有所帮助。