version 2
version 2

Reputation: 1059

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?

Upvotes: 0

Views: 1245

Answers (1)

ItayB
ItayB

Reputation: 11337

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

Upvotes: 1

Related Questions