以下の内容はhttps://anton0825.hatenablog.com/entry/2022/07/16/233753より取得しました。


pysen run lintを実行すると「git.exc.GitCommandError: Cmd('git') failed due to: exit code(129)」エラー

原因は、pysenがgitコマンドを実行した時にエラーが発生したこと。git statusコマンドを実行したところ、以下のエラーメッセージが出た。

fatal: unsafe repository ('/opt/ml/code/kaggle' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /opt/ml/code/kaggle

なので git config --global --add safe.directory /opt/ml/code/kaggle を実行すると直った。




以上の内容はhttps://anton0825.hatenablog.com/entry/2022/07/16/233753より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14