iT邦幫忙

0

Git 怎麼回覆不見的commit

git

git tips 找尋遺失的 commit 紀錄

下指令:

git reflow

會找到近期的所有git記錄,會在之中找到消失的commit版本,通常是因為commit 的分支是 HEAD 才會不見

接下來用

git checkout '板控碼(如:3fst34)'

就可以回復程式碼了


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言