I am a fan of using GitHub as my project file repository. But it interest me more if I am able to create a repository on this computer on a different directory path. Then clone that create repository on my new working directory.
I was planning to make a GitHub locally. I've been searching about this and many return that I should use gitolite and many more instead. The problem I am using Windows and I want to do all the steps using command line.
What command lines should I enter to create a repository on a different directory other than the working directory and be able to clone that repository to other terminals within the local network.
LINKING TERMINAL to Windows Host
I have created a repository directory pathed to Users\username\GIT\project.git
.
I am trying to link my terminal using the command line git clone file://{IPv4 server address}/Users/username/GIT/project.git
returns
fatal: '/{IPv4 server address}/Users/username/GIT/project.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
How can I resolve this? I my host is running on Windows 7 and my connecting terminal(s) will be using Ubuntu 12.04 LTS and MacOS Mavericks.
UPDATE TRACK
- Updated my question body. I don't know what steps should I follow.
- Inserted LINKING TERMINAL to Windows Host question for repository sharing over local network.