2017-11-19 4 views
-1

私はbitbucketからリモートリポジトリをクローンしました。git pushでエラーが発生する理由は何ですか?

私はまだすべての変更を行うと、すでに変更されて一つのファイルを持っていなかった。

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?

は常に同じである結果。

+0

エラーメッセージを読んだことがありますか?大文字と小文字の区別は関係ありません。 –

答えて

1

What is the reason of error on git push?

その理由は、サーバからの応答に含まれています:

remote: One of your commit messages is missing an issue ID:

リモートレポは、バグトラッカーの対応するエントリを参照する必要があり、すべてがメッセージをコミットする必要があります。ただし、コミットメッセージは単純に「テスト」という言葉です。

+0

私はそれを読むが、私はgitが何を望んでいるのか分からない)問題IDは何か。 Googleはこれについて何も言わない。 「あなたのコミットメッセージが欠落している」のような単純な音であれば、より明確になります。 「発行IDなし」なし とにかくおかげさまでアイデアがありがとう!それは私を助けた。 – Anthony

+0

"私はそれを読んだが、私はgitが欲しいものを理解していない" - Gitは何も望んでいない。要件はリポジトリの所有者から来ており、エラーメッセージのテキストはリポジトリの所有者、この要件を実装するために使用しているサービス、またはBitbucketからのものです。ちなみに、リポジトリの所有者がインターネットからのランダムな人物が自分のリポジトリにプッシュすることを許可していれば、私は驚いています。コミットメッセージにissue IDを指定しても、別のメッセージで拒否されました。 BTW:これはすべて... –

+0

... "詳細については、https://confluence.atlassian.com/x/ZwjoE.](https://confluence.atlassian.com/x/ZwjoE)を参照してください。エラーメッセージのリンクをクリックします。 –

関連する問題