Issues with yarn.lock file changes

I don't know why but whenever I want to push some code changes in specific file to github using
git add filename
and check tracked files using
git status
it shows the filename mentioned but when pushing it on Github it also shows other files specifically like yarn.lock etc. What is the reason.
If anyone has any suggestions please help.
Thank you for reading!
image.png
image.png
image.png
image.png
Was this page helpful?