0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

detected dubious ownership in repository at "リポジトリ名" To add an exception for this directory, callの解決

Posted at

エラー内容

fatal: detected dubious ownership in repository at "リポジトリ"
To add an exception for this directory, call:

        git config --global --add safe.directory "リポジトリ"

なぜこのエラーが起きるのか

gitがディレクトリの所有者に対して怪しいなぁと思っている。らしい(笑)

対策

エラーの案内通り下記で解決

git config --global --add safe.directory "リポジトリ"
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?