0

Actually, I want take origin/master origin/head comes one step back on "ce424fc - team split for nba and player injuries".

After that I push origin/master origin/head it wont ask me to take pull of 9a29db2.

My history graph looks like this.

CodeWizard
  • 128,036
  • 21
  • 144
  • 167
Nits
  • 520
  • 6
  • 21

1 Answers1

0

The remote branch has new commits that you dont have in you local branch.

You have to pull the origin to your local repository to get those changes.

# update your local repository
git fetch --all --prune

# merge the changes to your local master
git pull origin master

Now you are up to date with the server + your changes are merged into your local branch.

CodeWizard
  • 128,036
  • 21
  • 144
  • 167
  • I want take origin/master origin/head comes one step back on "ce424fc - team split for nba and player injuries" not on 9a29db2 hash code. Please help me. – Nits Jan 12 '16 at 10:36
  • Read this out: http://stackoverflow.com/questions/34519665/how-to-move-head-checkout-revet-reflog-reset/34519716#34519716 – CodeWizard Jan 12 '16 at 10:37