How to see .gitignore file in directory?


#1

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.


#2

On 23 March 2014 09:04, Jaimin P. removed_email_address@domain.invalid wrote:

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.

Colin


#3

Colin L. wrote in post #1140675:

On 23 March 2014 09:04, Jaimin P. removed_email_address@domain.invalid wrote:

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.


#4

On 23 March 2014 09:25, Jaimin P. removed_email_address@domain.invalid wrote:

" .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

Colin

Colin


#5

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

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

Thank you very much for your help.


#6

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.


#7

On 23 March 2014 10:08, Jaimin P. removed_email_address@domain.invalid wrote:

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


#8

Colin L. wrote in post #1140679:

On 23 March 2014 10:08, Jaimin P. removed_email_address@domain.invalid wrote:

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

CTRL + H worked!!! It gave me the easiest and best solution for this
tiny nasty long-time problem of mine. THANK YOU, COLIN! You’re awesome!


#9

On 12 May 2014 07:00, Robert W. removed_email_address@domain.invalid wrote:

Colin

CTRL + H worked!!! It gave me the easiest and best solution for this
tiny nasty long-time problem of mine. THANK YOU, COLIN! You’re awesome!

Glad to be of help.

Colin