Recently i found gradle is generating version file per project and name has pattern it.
Well on region deployment file might need but locally doesn't make sens to check in git repository.
File Name pattern are something like this
- backend/web-version.properties
- backend/api/api-version.properties
I would like to ignore all these files from check in who's name ending with xxx-version.properties and from all sub folder and files are already in repository. I tried but didn't succeed.
So I have 2 questions here
- What could be git ignore pattern for such files with having particular file name format ?
- And How to stop tracking existing or already added file to git repository ?