【问题标题】:git add . command taking too much time more than 30 minutes [closed]混帐添加。命令花费太多时间超过 30 分钟 [关闭]
【发布时间】:2022-01-20 02:54:38
【问题描述】:

git add . 花费太多时间image of vs code terminal

我试过了: git init

git commit -m "first commit"

git add .

现在它可以工作了,但它花费了超过 30 分钟的时间..

【问题讨论】:

    标签: git git-commit


    【解决方案1】:

    我认为您不应该上传 node_modules 文件夹。
    在主目录下创建一个.gitignore文件,并在其中添加/node_modules,这样它就不会每次都将文件夹上传到git。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-03-17
      • 1970-01-01
      • 2017-06-01
      • 1970-01-01
      • 2016-05-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多