hub
hub copied to clipboard
hub sync isn't fetching origin of forked repo
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