git强制添加 add文件

首先是idea新建文件没办法使用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"

然后就是

git -f add Demo.java

ok

posted @ 2020-06-17 17:31  anliex  阅读(435)  评论(0)    收藏  举报