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

Time:11-13

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

CodePudding user response:

You need to checkout the master branch first. You can do this with git checkout master. Then you can pull the changes with git pull.

CodePudding user response:

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. :)

  • Related