search

Home  >  Q&A  >  body text

Version Control - How to return to master after using git checkout in git?

After using a git checkout, I can’t get back to the master no matter what, and I will always be in the commit ID environment of checkout.

習慣沉默習慣沉默2841 days ago662

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2017-05-02 09:50:33

    git checkout master

    reply
    0
  • phpcn_u1582

    phpcn_u15822017-05-02 09:50:33

    git checkout master That’s it

    If it doesn’t work, what’s the tip? What's the error message?

    reply
    0
  • Cancelreply