git branch - Recover from Git Detached HEAD -
I was stupidly mistaken in the guitar, I was clicking twice on a tag. And my repository checked that specific tag and
git status
gave the following output HEAD added - separated on MySQL-cnf
I Just want to go back to my master
branch I created a new tmp
branch and now when I execute GIT checkout master
Then it should check the master
branch.
git checkout master error: tree files that do the following unwanted work will be overwritten by checkout: docs / make.bat script / mycycle_backup.bat script / run.bat please switch the branches Move them or remove them first. Revoke the status of GT on Branch TMP untracked files: (What will be included in this to use "GIT Ad and lieutenic; File & gt; ...") ../docs/ ../scripts / Is added to do anything, but unretch files are present (use
and
to save no local changes to hide git
I have no idea what to do please can help me , I just want to return to my
master branch
.
Comments
Post a Comment