Sometimes, you don't want to commit files like .project, .classpath, .DS_store. You may have already added all these in .gitignore but those files were previously commited.
You can do
git rm --cached {filename}
Your file would remain in your source directory.
Thanks for the excellent information!
ReplyDeletesend large files
access files anywhere