简体   繁体   中英

Git remote head points to a branch, not master

The origin/HEAD points to my feature branch and not master .

This happened after I rolled back some commits in my local repository and pushed this change to the origin .

I created the pull request to merge policy into master , but it does not work, just sits there.

The graph looks like this: 在此处输入图片说明

Github's HEAD points to whichever branch is set to be your default. You can select your default branch in your repository settings .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM