Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

where should gitignore file be

Put .gitignore in the working directory. It doesn't work if you put it in the .git (repository) directory
$ ls -1d .git*
.git
.gitignore
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gitignore #file
ADD COMMENT
Topic
Name
5+8 =