Is it safe nowdays creating public repos intended for small projects? #197030
-
🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaGitHub Skills Bodyhello:) 👋 So, this is the first time using the community forum, and I do have a question that I would appreciate being answered by more experienced GitHub users, as I always intend to learn 😅 I do not consider myself an expert in using GitHub, because I started using it last year. I've been trying to understand its purpose while also learning how to code the basics of multiple programming languages, saving whatever file or small program I do in its respective public repo, for example: Most of the time, I create pull requests for my owned repos too, just to practice the CLI commands and merging them, just for fun and practicing an appropriate and professional workflow, simulating as if I'm working with a team in a repo(Hopefully in the future, hehe) But I recently created a public repo and started a small project creating a Unix shell, and I was wondering if I should change it to a private repo. I know that thousands of people have done this type of project, and probably it wouldn't matter, but I just wanted to know if it is better to keep this type of repository private, and also, like the ones I save basic scripts of the programming languages I'm learning, changing them to private. thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
What you described — creating separate repositories, practicing pull requests on your own repos, using branches, merging changes, and simulating team workflows — is exactly how many developers learn professional development habits before working in real teams. A few important points:
Keeping repos public has benefits:
You only really need private repositories if:
For beginner/intermediate learning projects like:
public is usually perfectly fine. Your workflow practice is also smarter than you think. Many beginners only “push code.” You’re already practicing:
Those are real professional skills. One suggestion:
That progression itself becomes valuable. For example, a repo like:
looks completely respectable for a learner. Also, experienced developers usually do not expect junior developers to have perfect codebases. They mainly look for:
And honestly, your habit of simulating teamwork with your own pull requests is something many beginners never even try. |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
|
Make it public. Because u will learn how to make tidy and clean repos thats a basic thing dont mind that much just work on ur project |
Beta Was this translation helpful? Give feedback.
-
|
Yes, it is normal and generally safe to keep small learning projects public. The main things to avoid are not about the code being simple, but about accidentally publishing private material:
A good pattern is: and a For a Unix shell project, public is perfectly fine. It can actually help because future employers or collaborators can see how you work. Make it private only if it contains something personal, security-sensitive, or unfinished in a way you specifically do not want visible. |
Beta Was this translation helpful? Give feedback.
What you described — creating separate repositories, practicing pull requests on your own repos, using branches, merging changes, and simulating team workflows — is exactly how many developers learn professional development habits before working in real teams.
A few important points:
Keeping repos public has benefits: