Optimize Repository Forking Process #104
Labels
enhancement
For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted
good first issue
Good for newcomers
What feature do you want to see added?
Current Situation
When forking a repository on GitHub, our current process retrieves all branches from the original repository.
Issue
This approach may be inefficient and unnecessary for our use case.
Desired Outcome
We aim to fork only the default branch of the repository, as this is typically sufficient for our work.
GitHub GUI Option
The GitHub web interface provides an option to fork only the default branch (usually the main branch).
JGit Consideration
It's unclear whether JGit, the Java library we use for Git operations, offers a similar option to fork only the default branch.
Proposed Solution
Benefits
Next Steps
Conclusion
Optimizing our forking process to retrieve only the main branch will streamline our workflow and improve overall efficiency. This change aligns with best practices for managing forks when only the main branch is needed for development or analysis purposes.
Upstream changes
No response
Are you interested in contributing this feature?
No response
The text was updated successfully, but these errors were encountered: