Can you just refrain from staging it when you do future commits?
If you always need to modify it, but not commit it, it probably should not be under source control. Delete it, commit the deletion, and add it to the .gitignore file. (Restore the file afterwards, if/when needed locally.) It will never show up as an uncommitted change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.