본문 바로가기

DEVELOPMENT/Git

[Git] What is detached HEAD state and how do I get out of it?

반응형

https://stackoverflow.com/questions/7124486/what-to-do-with-commit-made-in-a-det

ached-head

 

What to do with commit made in a detached head

Using git I made something like this git clone git checkout {a rev number tree rev before} (here I started to be in a detached head state) //hacking git commit //hacking git commit (some commit wh...

stackoverflow.com

 

https://howtogit.archive.pieterdedecker.be/recipes/getting-out-of-detached-head-state.html

 

What is detached HEAD state and how do I get out of it? | How to Git

What is detached HEAD state and how do I get out of it? In a nutshell: You’re not on a branch right now. You’re browsing a snapshot of your Git files from a specific commit in your history. To get out of detached HEAD state and go back to master, do git ch

howtogit.archive.pieterdedecker.be

 

반응형