i am not really an expert for GIT, what I always use in git only git add
, git commit -m
and bla bla ( the basic ),
i already get a file .gitignore
from cloning the project and its already set up by team. but for running the project I have another way to add some syntax in the Makefile
because I can't use the default of Makefile
of that project, I have my own setting.
so here I changed the file of Makefile
, but every time I want to git status
that Makefile
status is unstaged for commit
, so i ust do manually git checkout -- Makefile
, it gonna make that file back like before and not going to be add in git, for my main question is:
I want to ignore that file locally, how can I do that in command line?