After checking out a branch (master) and git pull
, I have two files appearing as modified which I can not get rid of.
I have tried everything (git stash
, git checkout .
, git reset
, git reset --hard
, git reset --hard HEAD
).
Even after deleting and cloning the project again, running git status
always shows the files.
What can I do? This is the result of the git status:
Mahans-MacBook-Pro:finance-service-platform Mahan$ git status
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: tests/Mocks/Models/CarInsurance/PackageMock.php
modified: tests/mocks/Models/CarInsurance/CarSubmodelMock.php
no changes added to commit (use "git add" and/or "git commit -a")
this is also my .gitignore content:
/vendor
.env
apidoc.json
docs/*
.phpintel/
.idea