“git checkout ” is changing branch to “no branch”
If you checkout a commit sha directly, it puts you into a “detached head” state, which basically just means that the current sha that your working copy has checked out, doesn’t have a branch pointing at it. If you haven’t made any commits yet, you can leave detached head state by simply checking out whichever branch you … Read more