My vendor folder is by default skipped and I know this is the right one, but it happens that I need to commit a specific file that is in that folder, would it have? If not, what other solution can I adopt?
My vendor folder is by default skipped and I know this is the right one, but it happens that I need to commit a specific file that is in that folder, would it have? If not, what other solution can I adopt?
If the file is ignored, you can force the addition of these files:
git add --force -- arquivo1 arquivo2
git commit -m "adicionar arquivos anteriormente ignorados"
git push
If you want to add all files to a commit
, except for a single file:
git add -u
git reset -- pasta/arquivo.txt
See more at Documentation .