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

cookies - Yii2 Advanced - Share session between frontend and mainsite (duplicate of frontend for www) -

angular - password and confirm password field validation angular2 reactive forms -

php - Permission denied. Laravel linux server -