問題:
In Git, I understand that a branch is a pointer to a commit. 在Git中,我理解分支是指向提交的指針。
How do I make a specific branch point to a specific commit? 如何爲特定提交創建特定分支? Say I want to make master
point at 1258f0d0aae...
, how do I do that? 說我想在1258f0d0aae...
製作master
點1258f0d0aae...
,我該怎麼做?
解決方案:
參考一: https://en.stackoom.com/question/Ufi5參考二: https://stackoom.com/question/Ufi5