Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.gitignore file won't show in Cloud9 file panel

I am working on a ruby on rails application. I use the Cloud9 online IDE, which is Ubuntu.

When I go to the root directory, I can't open my .gitignore file. I know I'm in the right spot because when I'm in root and I type ls -la it lists all of my files, including .gitignore

I've seen other threads and some suggest using either open or see, followed by .gitignore. And they always work for OP. But neither of them work for me.

I tried this one:

open .gitignore`

But when I use that, I get the following error:

Couldn't get a file descriptor referring to the console

And when I use this command:

see .gitignore

I get the following error:

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

If anyone has any idea what's going on, please help me out. I can't find any other fix from other threads, other than using the two commands above.

like image 757
Parker Avatar asked Oct 17 '25 18:10

Parker


1 Answers

Can you see it in the left hand side bar? If not, in the left hand side bar click the little cog icon and then click 'show hidden files'.
Show Hidden Files

Hope this helped.

like image 103
Callum Leslie Avatar answered Oct 20 '25 09:10

Callum Leslie



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!