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

Repository Clean Forking #50

Open
douglowe opened this issue Mar 11, 2024 · 1 comment
Open

Repository Clean Forking #50

douglowe opened this issue Mar 11, 2024 · 1 comment

Comments

@douglowe
Copy link
Collaborator

douglowe commented Mar 11, 2024

With the addition of the 2nd branch of code to the demonstration repository, we need participates to fork the repository, rather than use the template. This raises the issue that all student repositories will be linked to ours, and PR's will, by default, go to our repository.

Should we look at methods for detaching the forked repositories, to avoid this problem?

I have tested this out with GitHub support, and they will do this for us, however it takes several hours, and they suggested the alternative below.

Alternative is to do this manually, following this process https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/detaching-a-fork:

  1. fork
  2. clone locally git clone --bare https://github.com/EXAMPLE-USER/FORK-NAME.git
  3. delete fork
  4. push back to same location as before, to create a new repository git push --mirror https://github.com/EXAMPLE-USER/FORK-NAME.git

Would this be too complicated for our students?

@douglowe
Copy link
Collaborator Author

@anenadic, @steve-crouch, @bielsnohr, have you consider similar for the original course or not?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant