Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to put files into gitignore

$ echo debug.log >> .gitignore
$ git rm --cached debug.log
rm 'debug.log'
$ git commit -m "Start ignoring debug.log"
Source by www.atlassian.com #
 
PREVIOUS NEXT
Tagged: #put #files #gitignore
ADD COMMENT
Topic
Name
1+2 =