Generally, To ignore files from a repository, we just have to add the file name in `.gitignore`. But this task becomes a bit tedious when there are a lot of unstaged files which you want to ignore.
`git ignore [file names]`
would add that file to `.gitignore` and other parameters like `--force` could be added which would delete that file cache if that file was already committed.
This is my very first mail in the mailing list and I look forward to becoming a future contributor to the git project. I would like to hear your opinions on this command and would like to implement it if approved.
Regards, Jaydeep.