Dear Support Team
I have a problem when trying to push , but the pull operation works without problems
You can see the error that appears as follows
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=manager-st push -v --tags origin feature/newDesign:feature/newDesign
POST git-receive-pack (815 bytes)
remote: Hook com.atlassian.stash.internal.repository.ref.restriction.RestrictionEnforcer failed. Error:
remote: bundle [com.atlassian.bitbucket.server.bitbucket-ref-restriction]
! [remote rejected] feature/newDesign -> feature/newDesign (pre-receive hook declined)
error: failed to push some refs to 'http://firstname.lastname@example.org:7990/scm/ep/zagelwebproject.git'
Completed with errors, see above.
Please provide me with any information to resolve the problem
Hi Rula, have you tried pushing from the command line too? If you get the same error from the command line, then the issue is not related to Sourcetree and we'll need to figure out what's going on.
Can you also let us know where are you pushing to? Is it Bitbucket Server? Or Bitbucket Cloud? Or Github...?
Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot