Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to share a project from private github repository?

Tags:

git

github

I have been working on a project and uploaded it on github. Now I want to apply for an internship and put the project in my resume. The problem is that the repo is private so I can not share it. Is there any sufficient way to share this project in my repo ? And if not, what are the git sites which provide shareable links in order to avoid this problem in the furure? Thanks in advance.

like image 266
A.khaled Avatar asked Apr 15 '18 20:04

A.khaled


2 Answers

Go to Settings/Manage Access/Invite Colaborator

enter image description here

like image 138
Marcelo Gazzola Avatar answered Oct 12 '22 13:10

Marcelo Gazzola


The private repos have a purpose which normally is to prohibit the public from accessing your source code. This means either as a company or as an individual you have a very serious reason you don't want to share. That said, github only provides these two options (public/private repo). Specifically, for your case, what could work is inviting other members to be collaborators on that project by just giving them read rights (when you invite somebody as a collaborator you basically have two options: a) make them collaborators, which means they have read rights, b) make them owners of the repo, which means they have read write access).

My suggestion here is you should better upload this project in the cloud or in a web ide, make it accessible only for the people who have the link and share with them the link.

like image 29
teobais Avatar answered Oct 12 '22 13:10

teobais