git ignore vendor folder code example Example: git ignore vendor folder not working git rm -r --cached vendor