How to delete an ORIG_HEAD branch in git?
问题 Possible Duplicate: git delete and recreate branch To be honest I'm not sure ORIG_HEAD can be called a branch, yet it appears in my visual editor as one. I have made a "git reset --hard HEAD~1" and then made some changes, finally committing them. How to get right of that ORIG_HEAD branch? 回答1: See "HEAD and ORIG_HEAD in Git": ORIG_HEAD is previous state of HEAD , set by commands that have possibly dangerous behavior, to be easy to revert them. It is less useful now that Git has reflog: HEAD@