I cloned remote repo from bitbucket.
i didn't do yet any changes and already have one file as changed:
Your branch is up-to-date with 'origin/master'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: www/src/app/locale/Test.csv
no changes added to commit (use "git add" and/or "git commit -a")
in fact its a symlink in the repo.
I tried to remove it and push this change then but get this error:
➜ git:(master) git push origin master
Counting objects: 7, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 535 bytes | 0 bytes/s, done.
Total 7 (delta 5), reused 0 (delta 0)
remote:
remote: One of your commit messages is missing an issue ID:
remote:
remote: 0df2153: test
remote:
remote: For more information, see https://confluence.atlassian.com/x/ZwjoE.
remote:
To https://bitbucket.org/[replaced_url_path].git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://[replaced_url_path].git'
I noticed that in the remote repo Test.csv comes with the low registry in the name of file:
www/src/app/locale/test.csv
I tried to rename it and push it. The result the same - i cannot push it with the same error.
I tried to use git config option
git config --system core.ignorecase false/true
tried to do like here: How do I commit case-sensitive only filename changes in Git?
always result is the same.
What is the reason of error on git push?
The reason is contained in the response from the server:
remote: One of your commit messages is missing an issue ID:
The remote repo requires that all commit messages must reference a corresponding entry in the bug tracker. Your commit message, however, is simply the word "test".