-
It only depends on whether you want your codebase to be publicly available. If you are fine with sharing your code, there is nothing wrong with deploying production website from the public repo.
-
If by "secure" you mean restricting access to your source code, you will need private repository, that's right. However, Github is not the only option - you can also consider BitBucket or GitLab (probably GitLab.com in your case - they have private repositories for free).
-
It is impossible with public repo, but with private one, user attempting to clone it will be asked for his credentials (login & password or SSH key) and if this specific person won't be allowed to perform a clone (you'll set this up on Github/Bitbucket/GitLab/whatever), his access will be denied.
Oct 26, 2016
6
Level 6
How to secue my site repo in gitHub and give access to my developers ?
Hi team,
I am using github and forge/digital ocean to deploy my app but still I didn't get the full idea of laravel deployment using git and github, I have few questions and I hope someone can help to understand the process in details :
1- Now my repo is public.. is this something normal when I go to production or should I buy private ??
2- How can I secure my repo ??
3- How can I give access to make clones of my repo to only specific people ?? I mean developers.. I need detailed answer with command if possible
Thanks Abdulaziz
Level 2
Please or to participate in this conversation.