修复git创建nul文件无法提交的问题

If you have Git for Windows Installed do the following

Open the directory containing the files you want to remove
Left Click and select Git Bash Here
Type rm nul.json at the command prompt and hit ENTER, the file now should be removed.
run Git Bash Here
image

NOTE: These screenshots show the removal of file nul.topo.json which is another file that I could not removed with a simple delete.
image

after command execution

posted @ 2025-08-27 09:03  sperictao  阅读(11)  评论(0)    收藏  举报