hub icon indicating copy to clipboard operation
hub copied to clipboard

hub sync isn't fetching origin of forked repo

Open jefferythomas opened this issue 5 years ago • 0 comments

Command attempted:

hub sync

What happened:

I'm using a forked repo. I've set the upstream to be the main repo. When I run hub sync, git fetch orgin is not being called. Updates to my fork are not being pulled into my local repo.

More info:

git version 2.30.1 hub version 2.14.2 macOS 10.15.6

Here is the output of HUB_VERBOSE=1 hub sync

❯ HUB_VERBOSE=1 hub sync
$ git rev-parse -q --git-dir
$ git remote -v
$ git symbolic-ref refs/remotes/upstream/HEAD
$ git symbolic-ref HEAD
$ git fetch --prune --quiet --progress upstream
$ git config --get-regexp branch.*.remote
$ git branch --list
$ git config color.ui
$ git rev-parse -q --git-path refs/remotes/upstream/develop
$ git rev-parse -q refs/heads/develop refs/remotes/upstream/develop

jefferythomas avatar Feb 22 '21 19:02 jefferythomas