Are you want to ignore further update on particular file that are already in repository Sorry we can not gitignore if files are already in Repo .
Git can only ignore files that are untracked - files ie. not committed to the repository yet.
Create .gitignore
touch .gitignore