I am trying to pull from my local repository to a remote repository located in the windows shared folder.
I am going to recreate a simple scenario where c is my local hard drive and n is a mapped network drive and I will show you the error I am getting.
Create a local repo
user@PC-W7 /c/More_git
$ git init
Initialized empty Git repository in c:/More_git/.git/
Creating a remote repo (as you can see, it is initialized without problems)
user@PC-W7 /n/git/central.git
$ git --bare init
Initialized empty Git repository in n:/git/central.git/
Then I add a new remote in my local repo, check that it really worked, add a new file and commit it to my local repository
user@PC-W7 /c/More_git (master)
$ git remote add origin /n/git/central.git
user@PC-W7 /c/More_git (master)
$ git remote -v
origin n:/git/central.git (fetch)
origin n:/git/central.git (push)
user@PC-W7 /c/More_git (master)
$ git add a.txt
user@PC-W7 /c/More_git (master)
$ git commit -a -m "a.txt added"
[master (root-commit) c075576] a.txt added
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 a.txt
At this point I am ready to click, and here is the problem
user@PC-W7 /c/More_git (master)
$ git push origin master
Counting objects: 3, done.
Writing objects: 100% (3/3), 207 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: error: unable to create temporary file: File exists
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
To n:/git/central.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to 'n:/git/central.git'
, , . , , , , . .
?
.
EDIT:
Novell
UPDATE
$ git version
git version 1.8.3.msysgit.0
GIT_TRACE = 1 UNC-:
user@PC-W7 /c/More_git (master)
$ git remote set-url origin //vshare/DATA/PUBUSER/git/central.git
user@PC-W7 /c/More_git (master)
$ git remote -v
origin //vshare/DATA/PUBUSER/git/central.git (fetch)
origin //vshare/DATA/PUBUSER/git/central.git (push)
user@PC-W7 /c/More_git (master)
$ GIT_TRACE=1 git push origin master
trace: built-in: git 'push' 'origin' 'master'
trace: run_command: 'git-receive-pack '\''//vshare/DATA/PUBUSER/git/central.git'\'''
trace: built-in: git 'receive-pack' '//vshare/DATA/PUBUSER/git/central.git'
trace: run_command: 'pack-objects' '
trace: built-in: git 'pack-objects' '--all-progress-implied' '--revs' '--stdout' '--thin' '--delta-base-offset' '--progress'
Counting objects: 3, done.
trace: run_command: 'unpack-objects' '--pack_header=2,3'
Writing objects: 100% (3/3), 207 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: trace: built-in: git 'unpack-objects' '--pack_header=2,3'
remote: error: unable to create temporary file: File exists
remote: fatal: failed to write object
error: unpack failed: unpack-objects abnormal exit
trace: run_command: 'gc' '--auto' '--quiet'
trace: built-in: git 'gc' '--auto' '--quiet'
To //vshare/DATA/PUBUSER/git/central.git
! [remote rejected] master -> master (unpacker error)
error: failed to push some refs to '//vshare/DATA/PUBUSER/git/central.git'
GIT_TRACE UNC-, , , .