4 ms·
It is usually as easy as "git checkout ID". If that doesn't work you probably have done something really bad to begin with.
by zibzab 5y ago
It is usually as easy as "git checkout ID".
If that doesn't work you probably have done something really bad to begin with.
- ethomson 5y agoThat's probably not what you want. Checking out an ID would put you in a detached HEAD state, and the CLI will give you the page of warning messages that go along with it. I think that this is an excellent reminder that yes, the git CLI is not simple or obvious.