What regex do I use to add org.eclipse.core.resources.prefs to my .gitignore, so that it ignores all occurrences of this file?
Adding each occurrence separately or any regex like //org.eclipse.core.resources.prefs or /./org.eclipse.core.resources.prefs does not seem to help.
Adding org.eclipse.core.resources.prefs will work. However, I'm guessing that you committed the files to your repository already. .gitignore will not ignore files that have already been committed. So, you need to:
org.eclipse.core.resources.prefs files from the repoAnd all of your prefs files will be ignored afterwards.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With