【问题标题】:.vs showing as untracked file in git bash - what do i do?.vs 在 git bash 中显示为未跟踪的文件 - 我该怎么办?
【发布时间】:2023-03-30 02:55:01
【问题描述】:

我最近从 git 克隆了一个 repo,还没有做任何更改,我所做的只是在 VS19 中打开代码。在 git bash 中,我输入了“git status”,但有一个未跟踪的文件,我不知道该怎么处理。有人可以建议吗?

$ git 状态 在分支主 你的分支是最新的'origin/master'。

未跟踪的文件: (使用“git add ...”来包含将要提交的内容)

    .vs/

【问题讨论】:

  • 听起来像(Visual Studio?)只是自动创建该文件夹来存储配置信息。我认为您可以放心地忽略它。也许将其添加到.gitignore

标签: git github git-bash git-status git-untracked


【解决方案1】:

此目录由 Visual Studio 创建。将其添加到您的 .gitignore 文件中。

【讨论】:

    猜你喜欢
    • 2015-05-26
    • 2021-03-17
    • 2011-06-04
    • 1970-01-01
    • 2018-08-31
    • 2019-10-30
    • 1970-01-01
    • 1970-01-01
    • 2016-01-20
    相关资源
    最近更新 更多