Note that there are some explanatory texts on larger screens.

plurals
  1. POShared Git Repository on Windows File Server (Fail)
    primarykey
    data
    text
    <p>Before anyone jumps in and refers me to a prior post, let me say, I've gone through all of them with no success. </p> <p>As the title says, I'm trying to setup a shared git repository on a Windows file server using local path (e.g. <code>s:\SharedProjects\foo</code>), where each developer has a local repository (e.g. <code>c:\MyProjects\foo</code>).</p> <p>So far I've managed to create / clone the repository, but I can't push back changes from local user to shared dir. I've tried setting it as <code>--bare</code> repository, I've tried setting <code>--git-dir</code> and <code>--work-tree</code>, but I always different problems.</p> <p>Setting the repo as bare, all of the git-dir files (<code>.git/*</code>) reside immediately below my root directory (<code>s:\SharedProjects\foo\[config, HEAD, ..*]</code>), and does not allow me to perform other repository tasks such as <code>git ls-files</code> or <code>git status</code>, saying these operations must be made in the working directory. </p> <p>The I set the working directory above my bare repository (e.g. <code>\SharedProjects\bar</code>), and I can't perform any operations on that because it doesn't recognize a git repository :|</p> <p>I'm going crazy here.. I've been trying every which way I can to set the <code>--git-dir</code> and <code>--work-tree</code>, setting my repository as <code>--bare --share=everybody</code>.. I lost track of where I'm at now! </p> <p>Can someone please give specific step by step instructions on crating a repository (on a Windows file share) that will allow for central repository management as well as local repository push / pull operations? </p> <p>Thank you all in advance!</p> <ul> <li>Eyal Z. </li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload