I’ve forked a couple projects that I just wanted a copy of in case the upstream is deleted.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
Resources
Rules
- Follow programming.dev rules
- Be excellent to each other, no hostility towards users for any reason
- No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.
Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.
Can't you clone a previous build? Actual noob here, serious question
I’m not sure what you mean, but if someone deletes their GitHub repo, there’s no way to fork it. If you forked it before they deleted it, then your fork remains.
I see, thanks
They might not have always been empty. Could be that there was a branch for a PR that got merged, so the branch was deleted.
If it’s licensed well then it means the user has a backup of the project if it ever gets removed or they change the license. I don’t know if that’s the actual reason though, just a guess
I fork the version I deploy in prod across multiple machines. I find it makes my life easier and I never need to learn any cli other than git clone and git pull.
In my case, it's a TODO list. But often, life gets in between and I forget.
Tbf forks should be separated in the repo view on GitHub from repos you've created