ignore a file without .gitignore

git update-index –skip-worktree <filename>