1
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?

More than 1 year has passed since last update.

【Git】in unpopulated submodule解消法

Posted at

状況

git addを実行した際に以下のように出力され、git addを正常に実行できませんでした。

ターミナル
$ git add .
fatal: in unpopulated submodule 'sample_app'

解消法

以下のように実行することで解消しました。

ターミナル
$ git rm -rf --cached sample_app
$ git add .
1
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
1
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?