【问题标题】:I deleted 2 files on my github file but not commited. But when i write git status, it says deleted我在我的 github 文件中删除了 2 个文件,但没有提交。但是当我写 git status 时,它说已删除
【发布时间】:2021-12-21 08:46:59
【问题描述】:

enter image description here

我不想删除这些文件。我该怎么办?因为我的学校,我刮掉了我的 github 用户名。

【问题讨论】:

  • 截图有建议试试git restore。也许尝试恢复文件? :)

标签: github git-untracked


【解决方案1】:

git restore FILE_NAME 应该可以解决问题

【讨论】:

    猜你喜欢
    • 2023-03-15
    • 1970-01-01
    • 2017-05-06
    • 2019-08-22
    • 2019-03-22
    • 1970-01-01
    • 1970-01-01
    • 2011-09-06
    • 1970-01-01
    相关资源
    最近更新 更多