Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

stop tracking git pattern

1. git rm --cached <some_file_pattern_here> (i.e. app/**/*.xml)
2. Commit the removal. 
3. Add the pattern to your .gitignore to avoid it in the future. 
 
PREVIOUS NEXT
Tagged: #stop #tracking #git #pattern
ADD COMMENT
Topic
Name
2+7 =