I've looked around StackOverflow and other places (including Git documentation) and just cannot get this to work. Here's what i've done:
To setup central repository (on //SomeUNC);
git init --bare Central.git
This creates a //SomeUNC/Central.git folder.
Now, in local repository, i try:
git remote add Central //SomeUNC/Central.git (this is ok)
git push -all Central
This gives the error:
fatal: 'Central' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
I'm sure I'm missing something simple. Thank for any help!
It sounds like your paths aren't valid. Delete the bare repository and try this from your local repository working folder:
git init --bare //UNC/Path/to/Central.git
git remote add Central //UNC/Path/to/Central.git
git push --all Central
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With