【问题标题】:getting back to old commit in github vscode flutter回到 github vscode 中的旧提交
【发布时间】:2022-09-28 14:06:03
【问题描述】:

我想采用旧提交的代码,但是,我不想更改我的仓库,只是将我的代码从 github 更改为 vscode。

  • git checkout f6e83a1 得到一个分离的 HEAD
  • 是的,我刚刚毁了我的代码,对不起,我是新手,你能告诉我我该怎么写吗? \"git checkout f6e83a1 [master---> 这是分支名称]\" 或 Idk
  • 阅读git checkout的帮助页面

标签: git github visual-studio-code


【解决方案1】:

git checkout <commit_id>

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-05-27
    • 1970-01-01
    • 1970-01-01
    • 2023-04-03
    • 1970-01-01
    • 2018-09-28
    • 2018-02-17
    • 2016-05-27
    相关资源
    最近更新 更多