we already have a config file in our repository, we want it to be removed and restrict it from being pushed to repository in future. so want to have a pre-commit hook, which can restrict it. For info we have the Adaptive scriptrunner installed inour Bitbucket
The condition mentioned here
can be configured to restrict a single file from being pushed in any commits.
If you want to remove this configuration file from the repository and eliminate its automatic addition in any future cases, you can add the file name in git ignore.
Please see the below link for gitignore
Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster ! While we’re all excited about the new improvements to Bitbucket ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events