Make "git checkout" verify that the argument refers to a commit
We still need to create a new branch if it didn't refer to an existing branch, otherwise our HEAD will continue to point to something totally different than what we just checked out. I'll need to think about it. Maybe only do it with "-f" and force it to the "master" branch?
Showing
想要评论请 注册 或 登录