简体   繁体   中英

Git hub- This branch is 7 commits behind master. How to resolve this?

I'm using the web interface of the github. I cannot access command-line.

I'm facing difficulties to update my sub-branch with respect to master branch. My sub-branch is A and I tried yo update it to master branch.

I tried a pull request but files did not update.

Can anyone guide me through this?

You should merge your develooment branch A into master locally and then push it (master) back into github.

The local steps are:

  1. Checkout master branch

  2. Merge sub branch A into master

  3. Push master into origin (github)

You can do each of these steps with your preferable GUI client if you not using command line

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