Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

gitignore specific file

$ git rm --cached relative/filepath.json
--> removes the file from the gitproject

also add "relative/filepath.json" to .gitignore
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gitignore #specific #file
ADD COMMENT
Topic
Name
2+9 =