We have Bitbucket server and the task is - wait while changing some file in the repository and if it changes - rename some special file in the repository.
We've tried pre-commit hooks directly from git client, but it doesn't work properly because not all developers have the same pre-commit hook.
Is it possible to rename some repository file using PreRepositoryHook or PostRepositoryHook?
Looks like we can just check changed files and folders in particular commit, but do not change it https://developer.atlassian.com/server/bitbucket/how-tos/hooks-merge-checks-guide/.
Stand out as a skilled Confluence Cloud administrator. The Confluence Administration for Cloud certification proves you can configure permissions, manage site and space settings, and monitor activity—ensuring secure, effective collaboration for your team.
Start here