How can I commit only one specific jar file to the git repository and ignore the rest of all other jar files?
I have a situation where I have to commit a jar file and I also need to ignore the rest of the other jars files.
My .gitignore have *.jar which means it ignores all jar files, but my use-case should allow one specific jar file to allowed ignoring all others.