Questions tagged [git-fork]
git-fork refers to creating a new git repository based on the current one. NOTE: some details depend on whether you are using GitHub, Bitbucket, GitLab, or whatever other hosting systems; consider adding an appropriate additional tag correspondingly.
git-fork
547
questions
0
votes
0
answers
12
views
Finding a specific user's fork of a given repo
I'm trying to use the GitHub GraphQL API to solve the following problem. Suppose there is a repo alice/repo1 and another user bob. I want to find if bob has a fork of alice/repo1, and if so, what the ...
0
votes
0
answers
16
views
What is the difference between "Detach" and "Extract" when converting a GitHub fork to a standalone repo?
I am going through the process of detaching a fork from an upstream repository, and I have been met with the following question:
GitHub support screenshot
I can't understand what the difference is ...
-1
votes
1
answer
19
views
How to copy releases from a fork or create one and upload assets with an existing action?
I want to copy the release from the original repo to this fork: https://github.com/QuadraAI/whichcam
But it seems like I cannot modify the "write" rights in the action settings even if I'm ...
0
votes
1
answer
47
views
Local Git Repository is locked after pulling from fork
I tried for the first time to pull the Unreal Engine 5 repository from github (specifically the ue5-main branch which is the "dev" branch). I made a local branch of it called katianie-ue5-...
1
vote
1
answer
36
views
Multiple destination repos to push from forked repo
I have the following.
Base Repo
- main
MyFork Repo (from Base Repo)
- main
- feature A
- feature B
AnotherFork Repo (from Base Repo)
- main
- feature C
I have ...
0
votes
1
answer
47
views
Is it possible to create a Go module as a fork of a non-Go repo?
Is it possible to create a Go module as a fork of a data-only non-Go module?
For example, given the following non-Go repo with only data files:
https://github.com/org1/repo1
is it possible to create ...
0
votes
1
answer
11
views
How to build a separate new project from an existing open-source project?
I found a good open-source project related to my need and I am somewhat contributing to it but I am starting to realize that I want to create a similar but a bit different project than the original ...
0
votes
0
answers
31
views
Only allow cross-fork PR from specific Bitbucket branch
So there's this org which has a certain highly regulated Bitbucket repo R in a centrally-governed project C. We maintain a synchronized fork of C/R, T/R, in our own Bitbucket project T. To make a ...
0
votes
0
answers
31
views
Calculate the ratio of merged forks to all forks of a repository to analyze if it has any impact on the success of an open-source project
I am trying to calculate the ratio of merged forks to all forks of a repository to analyze if it has any impact on the success of an open-source project. However, I am stuck because I am not sure how ...
0
votes
0
answers
44
views
How to provide Angular Website Template Open Source
I'd like to provide my Angular based website Open-Source as template. I already separated all user data and configuration into .json files in a certain directory so that users don't have to touch any ...
1
vote
1
answer
355
views
When should I choose 'copy the main branch only' option when forking in git?
I'm learning git and I wanted to fork a repository. The video from which I'm learning it was posted few years ago and the option doesn't emerge.
When should I choose this option? And when shouldn't?
I ...
0
votes
0
answers
22
views
How to reconcile differences in merging to different staging branches from a branch in a fork?
I am dealing with 2 branches that are meant for staging, let me call them A and B respectively, with A being higher & closer to production.
I have a fork of the repo and I have my own branch X ...
1
vote
0
answers
74
views
Using a forked expo package
I want to use a forked expo package in my expo app instead of the official expo.
I am trying to do something like this
expo: ' git+https://github.com/alexbrazier/expo.git#disable-notification-...
-1
votes
1
answer
91
views
How can I clean up my GitHub fork's commits and branch to make clean PRs in the future?
My issue in short:
I was contributing to a repo on GitHub, so I forked, and I created a new branch, made my additions, and submitted a successful PR back to the origin repo (#18 in it). The result now ...
0
votes
0
answers
22
views
How to prevent fork specific files being included in pull requests to original repo
I have made a fork of a repo on GitHub, and use this to make changes and submit them as pull requests to the original repo.
There are some files that I don't want to include in pull requests (nor do ...