How do you configure pre-commit hooks in Stash? I get an error when I try to commit with user ids which don't match the current user id:
remote: [POLICY] - Cannot push commits from other users remote: [POLICY] - Current user is: phealy remote: [POLICY] - Rejected Commit: Sylvain Rochette <firstname.lastname@example.org> (8659967)
We are updating a git hub project but we want to host the project locally before we push all our changes back to git hub. We were trying to use our Stash instance to do this, but it has a pre-commit hook policy which prevents commits from users other than the current user.
We don't have hooks enabled for the repo under the Stash report Hooks settings, so I don't know where it's getting this from
I have found this page on configuring hooks:
You just log onto the database, get the id of the repo, and then delete the corresponding script which is enforcing the hook
Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot