在项目根目录打开cmd(Windows)
dir #查看目录 git rm -r --cached .next #删除远程仓库的“.next”文件夹 git commit -m "add or modify" #提交 git push -u origin master #推送到master分支