简体   繁体   中英

Git: “This branch is behind” after pull request

I'm new to Git and Github. I have a repo with 2 branches: Master and Develop .

  • Master is the base branch and considered the stable branch (this is the branch pulled by my webserver).
  • Develop is the branch where all my latest code is in.

So after developing some new features, I created a pull request and merged the develop into the master branch. But when I select the development branch, GitHub tells me: " This branch is 1 commit behind master. " But why? I understand that the pull request is handled as a commit to my master branch, but the warning doesn't feel right to me.

Or to make it short: How can I bring my master branch up to date with my development branch without causing warnings/conflicts?

Thanks.

To make it clear what solved your problem:

unchecked the "Include administrators" option

And now you was able to push as always.

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