How to create a kind of ''unlisted'' type of repository?

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.

15 Likes

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.

3 Likes

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

2 Likes

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:

12 Likes

+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,

  • Eldad
3 Likes

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. 

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.

+1, this feature should be added

1 Like

+1, this is great for sharing simple things with collaborators without GitHub.

1 Like

+1 for sure, this feature would be very useful!

1 Like

+1, interviews are asking for a direct link to code only, and I cannot share school project code publicly!