Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
josephcsible
on Jan 31, 2023
|
parent
|
context
|
favorite
| on:
Tell HN: GitHub will delete your private repo if y...
Never use the fork feature on private repos. Instead, clone the repo locally, create a fresh GitHub repo, and push your local clone manually to that. Doing so will protect you from this attack.
theossuary
on Jan 31, 2023
|
next
[–]
It'd be nice to be able to manually specify an upstream for a repo, that's the main benefit of forking in the UI.
hashtag-til
on Jan 31, 2023
|
prev
[–]
Does that limit submitting PRs to the original repo somehow?
kevincox
on Feb 1, 2023
|
parent
|
next
[–]
Apparently yes. You can't submit PRs to a repo outside of the "fork network". (IIUC these all share a single Git repo under the hood)
kitkat_new
on Feb 1, 2023
|
parent
|
prev
[–]
you need to make a fork for that, however you could add that one as a second upstream repo
Consider applying for YC's Summer 2026 batch! Applications are open till May 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: