How to turn Detached Head into master in git? -


in case of detached head, how remove commits ahead of detached head , turn detached head master?

use git reset command make current branch point commit.

specifically, commit id want point to, git checkout master, git reset <id>.


Comments

Popular posts from this blog

php - Displaying JSON data posts for blog using just the post id -

docusignapi - Documents restrictions within a package -

javascript - angular.forEach loop with $http.get -