I cannot fork sync upstream repo if upstream is private in github classroom #157315
Unanswered
ChenHanTsai
asked this question in
GitHub Education
Replies: 1 comment 2 replies
-
Hi @ChenHanTsai Your Teacher should have the ability to Sync any changes from the main repo to the connected forked ones. Ask your teacher to proceed with that via the Classroom UI. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m encountering an issue with my forked repository in GitHub Classroom. The upstream repository is private (it belongs to my teacher), and I cannot sync my fork when the upstream has new commits.
Due to school policy, they require all repositories to be private, which might be causing additional challenges with syncing.
Steps I’ve Tried:
Added the upstream repository using git remote add upstream .
Attempted to fetch changes from the upstream repo using git fetch upstream.
Tried merging or rebasing the changes into my forked branch.
Despite these attempts, I’m unable to sync my fork with the new changes made by my teacher.
If this is an intended limitation due to private repositories, could GitHub consider adding a feature that allows forks to sync more easily in cases like GitHub Classroom, where private upstream repositories are required due to school policy?
Any advice, insights, or input from the GitHub team would be greatly appreciated!
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions