git推送错误的原因是什么?
What is the reason of error on git push?
我从 bitbucket 克隆了远程仓库。
我还没有做任何更改,并且已经更改了一个文件:
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")
实际上它是回购协议中的一个符号链接。
我尝试删除它并推送此更改,但出现此错误:
➜ 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'
我注意到在远程仓库中 Test.csv 的文件名中带有低注册表:
www/src/app/locale/test.csv
我尝试重命名并推送它。结果相同 - 我不能用同样的错误推送它。
我尝试使用 git 配置选项
git config --system core.ignorecase false/true
尝试像这里那样做:
How do I commit case-sensitive only filename changes in Git?
结果总是一样的。
What is the reason of error on git push?
原因包含在服务器的响应中:
remote: One of your commit messages is missing an issue ID:
远程仓库要求所有提交消息必须引用错误跟踪器中的相应条目。但是,您的提交消息只是单词 "test".
我从 bitbucket 克隆了远程仓库。
我还没有做任何更改,并且已经更改了一个文件:
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")
实际上它是回购协议中的一个符号链接。
我尝试删除它并推送此更改,但出现此错误:
➜ 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'
我注意到在远程仓库中 Test.csv 的文件名中带有低注册表:
www/src/app/locale/test.csv
我尝试重命名并推送它。结果相同 - 我不能用同样的错误推送它。
我尝试使用 git 配置选项
git config --system core.ignorecase false/true
尝试像这里那样做: How do I commit case-sensitive only filename changes in Git?
结果总是一样的。
What is the reason of error on git push?
原因包含在服务器的响应中:
remote: One of your commit messages is missing an issue ID:
远程仓库要求所有提交消息必须引用错误跟踪器中的相应条目。但是,您的提交消息只是单词 "test".