Git add not working with .png files?

前端 未结 5 1174
耶瑟儿~
耶瑟儿~ 2020-12-09 05:44

I have a dirty working tree, dirty because I made changes to source files and touched up some images. I was trying to add just the images to the index, so I ran this command

5条回答
  •  情书的邮戳
    2020-12-09 06:32

    Case-insensitive file systems like Mac OS X's default setup will also play havoc. If you change 'directory' to 'Directory' you will not get git to recognize it unless you move to another temp folder, commit, move back, and commit again.

提交回复
热议问题