git add . 时遇到hint: Use -f if you really want to add them.

使用git add .时遇到如下问题
hint: Use -f if you really want to add them.
hint: Turn this message off by running
hint: “git config advice.addIgnoredFile false”
最后发现是命令行所在目录不对,在log中打开此目录
返回到上级目录即可

你可能感兴趣的:(git,github)