I am completely new to git VCS. I managed to set up a local git repository in my computer. Instead of pushing all the code to github or related sites, I am planning to make my computer as a server. I have a couple of other machines too. I need to access /clone the local repo to these machines. What I have done till now:
- installed apache http server
- Created a git repo
- Mapped the git repo to apache http by adding the entry to httpd.conf
- I am able to access my git repo in my browser using :mycomputer.mydomain.com(i cannot disclose the name as i am in corporate network)
- The url "mycomputer.mydomain.com" lists a folder 'XYZ' which is the folder in which i gave : git --bare init using the command line
- Other people in my domain are also able to access the git repo through ip in their respective browsers
The issue is when I try to clone the repo using :
git clone mycomputer.mydomain.com
It says:
fatal repository 'mycomputer.mydomain.com' not found.
Am I missing something?