nayananga@nayananga-Aspire-E5-575G:/opt/lampp/htdocs/registration$ git push 'https://nayanangamuhandiram@bitbucket.org/group4suoj2016/version-1.0.git' 'nayananga`s_branch' Password for 'https://nayanangamuhandiram@bitbucket.org': Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (5/5), 1.02 KiB | 1.02 MiB/s, done. Total 5 (delta 0), reused 0 (delta 0) remote: remote: One of your commit messages is missing a valid issue key: remote: remote: 3517c56: CompleteUserRegistrationUsingPhpAndMysqlDatabase remote: remote: For more information, see https://confluence.atlassian.com/x/ZwjoE. remote: To https://bitbucket.org/group4suoj2016/version-1.0.git ! [remote rejected] nayananga`s_branch -> nayananga`s_branch (pre-receive hook declined) error: failed to push some refs to 'https://nayanangamuhandiram@bitbucket.org/group4suoj2016/version-1.0.git'
i get an error like this any help?
In case you enable the Require issue keys in commit messages feature in your repository settings, you will need to include issue key in your commit message.
For example:
git commit -m "ISSUE-1234 Commit message"
And this is why you're receiving this error, you didn't mentioned a issue key in your commit.
See documentation related: Link to a web service
You may want to disable the Require issue keys in commit messages setting under your repository settings > Links (Under workflow) > Click the toggle button to turn it off.
Let me know if this helps!
Gabi
I have same error ! But I can't turn it off
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.