What is the quickest and simplest way of setting up a shared, remote git repo on Windows?
I have just joined a team of two, and am in danger of having to being asked to use SourceSafe if I can’t establish a git repo very quickly. I would like to avoid any web server etc. setup and just use a shared folder, but suggestions along this line haven’t been very clear and have not worked.
First, I tried ‘git init –bare’ in the shared folder, and this seemed to work, but I cannot clone this repo to a local repo as I get told no repo exists there.
- Git, when switching branches I get error: “Deletion of directory '<dirname>' failed. Should I try again?” Started after I set custom folder icon
- How can I retrieve environment variables(Jenkins) in java
- Android Studio: How to integrate Git from Windows 10 Ubuntu bash?
- Relocating JENKINS_HOME on Windows when installed as service
- How to change the behavior of git status showing modified files which are eventually not committed?
- Jenkins Windows slave: Authentication failed if running as service
I would appreciate if somebody could give me clear instruction how to achieve this, please.
One Solution collect form web for “What is the quickest and simplest way of setting up a shared, remote git repo on Windows?”
It shouldn’t cause any problem to share a repo this way, that’s the exact setup we have here.
Be sure to specify slashes when giving repo location, and that the share has been accessed in the Explorer in case it requires authentication.
git clone //server/share/path/to/repo.git