DEV Community

Ali Soukarieh
Ali Soukarieh

Posted on

How to Share a Private Github Repository with Just a Link.

A simple and secure way to share private GitHub repositories without adding collaborators or requiring a GitHub account.

Sharing private GitHub repositories has always been a challenge. You either need to make your repository public or manage collaborator access individually. With GitShare, you can now share your private repositories securely with anyone using just a link.

Gitshare Logo

Here is a Step-by-Step Guide:

1.Go to gitshare.me and then to the login page.

Gitshare Landing Page

2.Download and install the GitShare app on your GitHub account. This is a one-time setup process that securely connects to your GitHub account, allowing you to select which repositories you want to share access to. You can easily update or change these selections later at any time.

3.Sign in.

Gitshare Signin Page

4.Once you sign in, you will be redirected to the dashboard, where you can select the repository and branch you want to share, as well as set an expiry date for the access. Once done, click on ‘Add Repository’.

Gitshare Dashboard

5.The selected repository will appear in the ‘Shared Repositories’ section on the same page. Once the build process is complete, you’re ready to share your repository. Simply click the ‘Copy to Clipboard’ icon and share the link with anyone, anywhere!

List of shared repositories

Here’s what it will look like for the person you’re sharing the repository with:

Gitshare Repository Viewer

Additional Features of GitShare

1.When selecting a repository to share, you can click ‘Show Advanced Options’ to enable additional features. These include allowing users to download a ZIP file of all code files or enabling notifications, which will send you an email each time the repository link is opened. This can be useful for tracking the progress of a job application.

Extra settings of sharing a private repository

2.Clicking on a repository in the ‘Shared Repositories’ section of the dashboard takes you to the repository’s dashboard, where you can modify its settings:

  • Enable/disable downloads
  • Enable/disable download notifications
  • Change the expiration date
  • Force a theme on the recipient’s side
  • Refresh the repository to reflect its latest commit

Repository Dashboard

Thank you for taking the time to read about GitShare! We built this tool to make sharing private GitHub repositories easier, and we hope it helps streamline your workflow.

If you have any feedback, suggestions, or thoughts about GitShare, we’d love to hear from you! Feel free to reach out to the team at contact@gitshare.me.

Top comments (0)