How to use git on subdomain for development or support
I'm fairly noob on internals of git system. We have been using it locally with SmartGit client. Now I seek for options to build remote repositories.
The scenario I have in mind is as follows:
I have hostname.mydomain.com VPS with root access.
I have my company domain on mydomain.com
I want to develop securely on e.g. git.mydomain.com, which should never be public.
Master branches of latest versions should be available (not public, e.g. accessible with credentials) on e.g. support.mydomain.com
I'll use these masters e.g. on IoT device installations with wget etc.
What is the best way to implement such a scenario?
I do not want to give SSH access to any device other than in-house developers.
I'm aware of the included git and namecheap.com's tutorial, but I'm not sure how I can adapt it:
Namecheap.com Knowledgebase " How to deal with Git on our shared servers (SSH Access)
Any directions will be much appreciated...
-
Hello, I believe the following third-party URL should help, in-particular the comments section includes information about access control through .htaccess files: Site5 KnowledgeBase " Creating a new GIT repository Thank you. 0 -
Very good information, thank you ! 0
Please sign in to leave a comment.
Comments
2 comments