How to create a kind of ''unlisted'' type of repository? #22040
-
Is there a way to create a public type of repository that is only accesible to the person having the link to it?, but it wont appear on search results at the site, just like in youtube for example for unlisted videos. Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 49 comments 20 replies
-
No, at the time you can’t create unlisted repositories (altough this probably will be logged as a feature request). Please note you can, however, make a private repository and then invite people who have read-only or read-write access if you have a paid account. |
Beta Was this translation helpful? Give feedback.
-
Hi @noxuz, Thanks for this feedback! We’re always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I’ve logged your feature request in our internal feature request list. Though I can’t guarantee anything or share a timeline for this, I can tell you that it’s been shared with the appropriate teams for consideration. Please let me know if you have any other questions. Cheers! Andrea |
Beta Was this translation helpful? Give feedback.
-
Unlisted repositories will be very good to have. For example, I want to share a URL to my assignment with my teacher. I don’t want to make my repository public, because other students can just Google it and plagiarize. I don’t want to make my repository private either, because I don’t know exactly who will be marking my assignment, so I don’t know whom to invite. Even if I know the person who was marking my assignment, they might not have a github account. So having an “unlisted” type of repository (similar to unlisted Youtube videos) will be very helpful. It will be nice for those repositories to have a long unguessable URLs, like https://github.com/USER/73a90acaae2b1ccc0e969709665bc62f. Thanks. :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
+1 Our company has a lot of private repos and some public ones. We maintain a repo named “userscript” full of useful userscripts our teams can use. Some of these scripts are useful to people outside of R&D, and having them create a GitHub account to access them is a deal-breaker. We made this repo public so everyone in the company can use it, but now it appears on our company’s GitHub page. We put a warning in the readme, but having an option to completly hide it from that list would be very useful. Cheers,
|
Beta Was this translation helpful? Give feedback.
-
Currently going through this exact situation and surprised it’s still not a feature. I’m having to keep it private till the day of the deadline, at which point I’ll make the repo public, but it’s something I really shouldn’t have to do. |
Beta Was this translation helpful? Give feedback.
-
For smaller things like school projects using secret gists (see https://gist.github.com/) may be an option. They are git repositories, and according to the documentation hidden from search engines. |
Beta Was this translation helpful? Give feedback.
-
+1, this feature should be added |
Beta Was this translation helpful? Give feedback.
-
+1, this is great for sharing simple things with collaborators without GitHub. |
Beta Was this translation helpful? Give feedback.
-
+1, interviews are asking for a direct link to code only, and I cannot share school project code publicly! |
Beta Was this translation helpful? Give feedback.
-
+1. This seems like the perfect feature for use cases where you want to share code of a “not ready for prime time” nature (job interviews, school projects, etc). |
Beta Was this translation helpful? Give feedback.
-
+1, was looking for this as well. Would be nice to have this to prevent polluting one’s repos, but link to it from an issue as repro steps in another repo. |
Beta Was this translation helpful? Give feedback.
-
+1, this would be very useful for interviews / job applications to not leak proprietary source code. |
Beta Was this translation helpful? Give feedback.
-
+1 This is very important! |
Beta Was this translation helpful? Give feedback.
-
+1 this is very useful |
Beta Was this translation helpful? Give feedback.
-
I would love this feature |
Beta Was this translation helpful? Give feedback.
-
would love unlisted repos so I can make code available to my CI/CD system without having to setup keys etc. Obviously not idea but would work well for my use case and make things a lot easier. |
Beta Was this translation helpful? Give feedback.
-
+1 from me! |
Beta Was this translation helpful? Give feedback.
-
+1 from me as well! |
Beta Was this translation helpful? Give feedback.
-
Half a decade and they still haven't worked on this feature, what are developers doing? |
Beta Was this translation helpful? Give feedback.
-
This is like a time machine. |
Beta Was this translation helpful? Give feedback.
-
Please add this. I am considering switching away from GitHub to self-hosted. |
Beta Was this translation helpful? Give feedback.
-
It's not as hood as a real solution, but for hosting issue reproduction this works pretty well: https://craigory.dev/blog/2024-09-11/gh-unlisted-repos/ |
Beta Was this translation helpful? Give feedback.
-
yaaaay 🎉 |
Beta Was this translation helpful? Give feedback.
-
Just use BitBucket for the repos you don't want to have listed. Having them public there is almost as good as an unlisted repo on GitHub ;) |
Beta Was this translation helpful? Give feedback.
-
gitfront.io works well |
Beta Was this translation helpful? Give feedback.
No, at the time you can’t create unlisted repositories (altough this probably will be logged as a feature request).
Please note you can, however, make a private repository and then invite people who have read-only or read-write access if you have a paid account.