Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hub sync isn't fetching origin of forked repo #2714

Open
jefferythomas opened this issue Feb 22, 2021 · 0 comments
Open

hub sync isn't fetching origin of forked repo #2714

jefferythomas opened this issue Feb 22, 2021 · 0 comments
Labels

Comments

@jefferythomas
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant