Im trying to not include some files to be commit. For example, I don't want any change in the following files to be included in a commit:
bootstrap/start.php
So I include them in .gitignore like this:
/bootstrap/compiled.php
/bootstrap/start.php
/vendor
composer.phar
composer.lock
.env.local.php
.env.php
.DS_Store
Thumbs.db.idea
.idea/
/public/dbase
/public/user_images
/app/config/lenovo
but when Im running git status I still get this message:
On branch master
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: .gitignore
modified: bootstrap/start.php
no changes added to commit (use "git add" and/or "git commit -a")
How to do that? thank you