Why are git operations on forked repos so much slower?

John Hamel October 30, 2017

Background:

My company has a self-hosted Bitbucket setup. We would like to have developers work in their own forks for added safety and to keep branches in the main repo under control. However, git operations on a forked repo are roughly an order of magnitude slower, making this a poor option.

 

Situation:

For example, I have copies of both the main repo and a synced fork on my machine. With both repos in the same state and already up to date, a simple `git fetch` takes 5 seconds on the base repo and 37-61 on the fork.

 

Question:

Why is this, and is there any way we can improve the situation?

1 answer

0 votes
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 7, 2021

Is this still actual ?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events