How to see .gitignore file in directory?

I want open default " .gitignore " file in text editor But I can not
able to see it.

How can I see in directory?

Kind regards.

That rather depends on which operating system you are using and which
editor. For example, on Ubuntu I can just use
gedit .gitignore

Not sure why you are asking this on a Ruby on Rails list as it seems
to have nothing to do with Ruby or Rails.

Colin

Colin Law wrote in post #1140675:

I want open default " .gitignore " file in text editor But I can not
able to see it.

How can I see in directory?

That rather depends on which operating system you are using and which
editor. For example, on Ubuntu I can just use
gedit .gitignore

Not sure why you are asking this on a Ruby on Rails list as it seems
to have nothing to do with Ruby or Rails.

It is right.

I have not asked question clearly, sorry for that.

When we run rails command, then rails command will create default
" .gitignore" file in application root directory. BUT I can't able to
see
" .gitignore " file in application root directory.

How can I see it?

Kind regards.

Colin Law wrote in post #1140675:

I want open default " .gitignore " file in text editor But I can not
able to see it.

How can I see in directory?

That rather depends on which operating system you are using and which
editor. For example, on Ubuntu I can just use
gedit .gitignore

Not sure why you are asking this on a Ruby on Rails list as it seems
to have nothing to do with Ruby or Rails.

It is right.

I have not asked question clearly, sorry for that.

When we run rails command, then rails command will create default
" .gitignore" file in application root directory. BUT I can't able to
see
" .gitignore " file in application root directory.

How can I see it?

Still you have not told us the most important information, which
operating system are you using (Windows, Ubuntu etc)? You really
should be asking this on a Windows or other forum however. How to see
hidden files is nothing to do with Ruby on Rails. The fact that the
file was created by Rails is irrelevant.

You could try googling for
how to see hidden files in <insert your OS here>

Colin

Colin

Still you have not told us the most important information, which
operating system are you using (Windows, Ubuntu etc)? You really
should be asking this on a Windows or other forum however. How to see
hidden files is nothing to do with Ruby on Rails. The fact that the
file was created by Rails is irrelevant.

You could try googling for
how to see hidden files in <insert your OS here>

Sorry for asking this question in rails. I am using ubuntu operating
system.

Thank you very much for your help.

In Nautilus (the file explorer) Ctrl+h will show/hide hidden files, or
you can show them via the menus in Nautilus.

Colin

If you open a terminal window you can use the unix command ls -als to get a long listing of all files in the current directory. In the same terminal window the command man ls will give you the manual page for the ls command.

Colin Law wrote in post #1140679:

Glad to be of help.

Colin