php - git 如何拉取指定分支的某一个历史版本的代码?
ringa_lee
ringa_lee 2017-04-11 09:46:23
0
2
366

git 如何拉取指定分支的某一个历史版本的代码?
我今天不小心把本地备份的一个代码删除了,这个代码是我自己开发用来作为参考的,所以远端仓库中的这个分支的代码已经覆盖了,我怎么才能把它拉取下来?

ringa_lee
ringa_lee

ringa_lee

répondre à tous (2)
巴扎黑
  • checkout到对应commit id

    洪涛

    如果你能訪問到遠端的文件系統: 整個拷回來, 遍歷所有commit, 找時間相近的

      Derniers téléchargements
      Plus>
      effets Web
      Code source du site Web
      Matériel du site Web
      Modèle frontal
      À propos de nous Clause de non-responsabilité Sitemap
      Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!