This should be screamingly easy, in fact, I know I have done this before -
but I forget how.
I do remember that I had a hard time with it before. :-(
I have created a file on my C:\ drive. Let us call it
c:\mydir\helloworld.cmd .
I have a Z: drive mapped with lots of drive space and write
This is somewhat confusing to me as to what you really want. Do you want a
bare repository on your Z: drive? This means you your subordinates
would need to git clone to create their own copy (working directory). Or
do you actually want to have the .git subdirectory for your (and other
users')
You must first create an empty repository on Z:, add it as a remote in
C:\mydir, then issue the git push. Basically as follows, although I
don’t know how Windows git handles backslashes in paths, so maybe you
will have to replace it wich slashes:
C:\mydir Z:
Z:\ mkdir projectname
Z:\ cd
This worked.
Thanks to Mr. Polonkai.
Eric
On Wednesday, June 4, 2014 12:23:32 AM UTC-7, Gergely Polonkai wrote:
You must first create an empty repository on Z:, add it as a remote in
C:\mydir, then issue the git push. Basically as follows, although I
don’t know how Windows git handles