Git提交时提示'The file will have its original line endings in your working directory' Git出现错误 git add -A warning: LF will be replaced by CRLF in database/migrations/2017_07_04_10041 warning: LF will be replaced by CRLF warning: LF will be replaced by CR…
git当前提交项目时总是会提交很多东西把Debug文件也提交了 在项目根目录(例如我的项目文件夹下,.sln文件的上一级目录)下建一个.gitignore文件,文件内容直接可粘贴下面的,这样 packages,Debug一些文件在点击提交时就不会出现了 ## Ignore Visual Studio temporary files, build results, and ## files generated by popular Visual Studio add-ons. # User-spe…