私は、全員がアクセスできるマシンで他の数人と共有したい小さなプロジェクトを持っています。ローカルリポジトリのベアコピーを作成しました
git clone --bare --no-hardlinks path/to/.git/ repoToShare.git
次に、repoToShare.git をサーバーに移動しました。
次の方法で確認できます。
git clone ssh://user@address/opt/gitroot/repoToShare.git/ test
その後、ローカル リポジトリ内のすべてを確認し、それに対してコミットできます。変更をリモート サーバーにプッシュしようとすると、次のエラーが発生します。
*** Project description file hasn't been set
error: hooks/update exited with error code 1
error: hook declined to update refs/heads/master
何か案は?