TortoiseGit を使用してデータの一部を gerrit にプッシュするのに苦労しています。新しいレポを作成し、マスターにコミットしました。秘密鍵を使用して 1 つのリモートを追加し、公開鍵もアップロードしました。
gerrit からプルするのは問題ありませんが、プッシュしようとすると次のエラーが発生します。
remote: Resolving deltas: 100% (96/96)
remote: Processing changes: refs: 1, done
remote: ERROR: missing Change-Id in commit message
remote: Suggestion for commit message:
remote: Initial Commit
remote:
remote: Change-Id: Icb5f79b9a32abc77a99f0034ecc6a5a9ae9ef1c6
remote: Hint: To automatically add a Change-Id to commit messages, install the commit-msg hook:
remote: $ scp -p -P 29418 <server stuff>:hooks/commit-msg .git/hooks/
大きな問題は、私が $ scp のない Windows の世界に住んでいるということです。..何か提案、git フックをインストールしたり、コミット ID を配信したりするにはどうすればよいですか?
ところでgit hooks --install
返品'hooks' is not a git command