How to deal with a detached head in git?
This module covers one of the most important and misunderstood topics in git – the detached head in git. In this article we discuss in detail about what is detached mode, how it works and how to fix commits made accidentally in detached mode. What are HEAD and branch in git? Before we jump into …