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/.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.