问题:
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