modify .gitignore to only matched root components directory