gitignore - fatal: no files added

前端 未结 1 885
粉色の甜心
粉色の甜心 2020-12-08 06:06

I have an issue with git, more precisely with gitignore.

I have created an empty folder Initialized git

mkdir fold
cd fold
git init

相关标签:
1条回答
  • 2020-12-08 07:03

    you should run git add . rather than git add *

    the * is interpreted by the shell and substituted with all file and folder in the current location. obviously ftc.prjx is one of them and git is just warning that the file is in the ignorelist.

    0 讨论(0)
提交回复
热议问题