git add -Aのエラーについて
解決したいこと
環境はmacOS Sierra 10.12.6で
git add -A
と入力したところ下記のエラーが出てきました。今までにこのようなことがなかったため、見識のある方にご助力願いたいです.
shimizukazuhiko@shimizukazuhikonoMacBook-Pro ~ % git add -A
warning: could not open directory 'Library/CloudStorage/GoogleDrive-kazulogics@gmail.com/.tmp/': Permission denied
warning: adding embedded git repository: .Trash/20220510shimizu2
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint: git submodule add <url> .Trash/20220510shimizu2
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint: git rm --cached .Trash/20220510shimizu2
hint:
hint: See "git help submodule" for more information.
warning: adding embedded git repository: .Trash/20220510simizuu
warning: adding embedded git repository: .Trash/20220520_shimizu
warning: adding embedded git repository: .Trash/20220530ask
warning: adding embedded git repository: .Trash/20220603shimizu
warning: adding embedded git repository: .Trash/20220604shimizu
warning: adding embedded git repository: .Trash/20220606データベース設計確認テスト
warning: adding embedded git repository: .Trash/coachtech 10.10.25
warning: adding embedded git repository: .Trash/coachtech 15.40.03
warning: adding embedded git repository: .Trash/質問
warning: adding embedded git repository: Desktop
warning: adding embedded git repository: Documents/development/flutter
error: 'Downloads/Sample 2/chapter07/07-05/mapViewInSwiftUIView/' does not have a commit checked out
fatal: adding files failed
自分で試したこと
google driveはアインストールしてみましたが結果は同じでした。
0