LoginSignup
0
0

More than 5 years have passed since last update.

Gitにファイルが読み込まれないときはその配下ディレクトリに".git"フォルダがあるかも!

Posted at

タイトルのまんまだが、

Gitにファイルが読み込まれないときはその配下ディレクトリに".git"フォルダがあるかも!

そもそも .gitのディレクトリ配下の、ファイル・ディレクトリを管理することができる。

Project
 ┣.git ←(A)
 ┣ABC.txt
 ┗example_folder
    ┣.git ←(B)
    ┗XYZ.txt

上記の図だと (A).gitでは、ABC.txtexmaple_folderディレクトリ自体は管理できる。
exmaple_folderディレクトリ配下のファイルは管理できない。

(B).gitではXYZ.txtを管理できる。

(A).gitXYZ.txtを管理するときは、②.gitを削除すれば良い。

単純なことだが、苦労した。脳みそ使ってないのかな?
説明適当だけど、わかりますかね?

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