after merging pull request in bit bucket I want to sync with local but getting message already up to date

Issue

I merged a pull request in bit bucket from a feature branch into master and now I want to update my local copy of master. I’ve tried git fetch, git pull, git reset –hard, git reset –hard origin/master. I was expecting my local master branch to be updated with the new commits, but it was not. I am getting the message already up to date, and no changes are applied to my local copy. Any suggestions are appreciated.

–update

git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    application/config/audio/

nothing added to commit but untracked files present (use "git add" to track)
--
git pull
Already up to date

Solution

Ok found my problem. I had forked the project from another and the updates were applied to the original project. Of course they wouldn’t show up as changes in the forked project until it is sync’d. I guess the take away is make sure you are pointed to the repo that has your changes. 🙂

Answered By – rshermanj

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published