1

I was create new directory found git can't track.

enter image description here

then create test directory

enter image description here

git not track directory ?

check ignore config:

enter image description here

add new file git could work

enter image description here

this is bug something ? git version: 2.13.3

Thank you very much

F___
  • 129
  • 1
  • 13

1 Answers1

4

You will not see an empty directory in git, as git saves only files and not folders. In order to add the folder you will need to create a file inside.

Please see Commit empty folder structure (with git)

fbwnd
  • 621
  • 6
  • 12