screenshot我提交了更改并推送到原点。我不应该这样做吗?
o7jaxewo1#
我使用git rm -r --cached .next删除了这些日志然后将.next包含在.gitignore文件中How to push a big NextJS project to GitHubhttps://gist.github.com/vmarcosp/bd32bdbbd74f0cfaac81df902f733bbahttps://dev.to/momentum/what-to-do-if-you-accidentally-committed-your-nodemodules-323o
git rm -r --cached .next
1条答案
按热度按时间o7jaxewo1#
我使用
git rm -r --cached .next
删除了这些日志然后将.next包含在.gitignore文件中
How to push a big NextJS project to GitHub
https://gist.github.com/vmarcosp/bd32bdbbd74f0cfaac81df902f733bba
https://dev.to/momentum/what-to-do-if-you-accidentally-committed-your-nodemodules-323o