GIT: pulling alway fails on the first trial and works on the second -
in our project use git manage our code base. have 1 central online repository, against developers push , pull.
running git tortoise git on windows, i'm having following strange issue: when pulling, first attempt pull fails (with error message pasted below), , subsequent attempt succeed. nothing changed in between.
i'm using git shallow understanding of principles, have know basic use cycle. me please solve riddle
git.exe pull -v --progress "origin" remote: compressing objects: 10% (40/393) /393) /393) /393) /393) /393) /393) /393) 393) 393) remote: compressing objects: 21% (83/393) /393) /393) /393) /393) /393) /393) /393) /393) /393) remote: compressing objects: 31% (122/393) 8/393) 4/393) 1/393) 7/393) 3/393) /393) /393) /393) remote: compressing objects: 41% (162/393) 8/393) 4/393) 0/393) 6/393) 2/393) 8/393) 4/393) 0/393) remote: compressing objects: 51% (201/393) 7/393) 3/393) 9/393) 5/393) 1/393) 7/393) 3/393) 9/393) remote: compressing objects: 61% (240/393) 6/393) 2/393) 8/393) 5/393) 1/393) 7/393) 3/393) 9/393) remote: compressing objects: 71% (280/393) 6/393) 2/393) 8/393) 4/393) 0/393) 6/393) 2/393) 8/393) remote: compressing objects: 81% (319/393) 5/393) 1/393) 7/393) 3/393) 9/393) 5/393) 1/393) 7/393) remote: compressing objects: 91% (358/393) 4/393) 0/393) 6/393) 2/393) 8/393) 5/393) 1/393) 7/393) remote: compressing objects: 100% (393/393), done.3/393) 0/393) 6/393) 2/393) 8/393) 4/393) 0/393) receiving objects: 22% (91/412), 36.00 kib | receiving objects: 24% (99/412), 36.00 kib | 32 kib/s 00 kib | 32 kib/s | 32 kib/s 00 kib | 32 kib/s 00 kib | receiving objects: 29% (120/412), 36.00 kib | 32 kib/s .00 kib | 32 kib/s .00 kib | 32 kib/s .00 kib | 32 kib/s receiving objects: 33% (139/412), 52.00 kib | 22 kib/s .00 kib | 32 kib/s .00 kib | 32 kib/s .00 kib | 32 kib/s receiving objects: 38% (157/412), 52.00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 43% (178/412), 52.00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 48% (198/412), 52.00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 53% (219/412), 52.00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 58% (239/412), 52.00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 62% (257/412), 68.00 kib | 20 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s .00 kib | 22 kib/s receiving objects: 67% (277/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 72% (297/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 77% (318/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 82% (338/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 87% (359/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 92% (380/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 97% (400/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s receiving objects: 100% (412/412), 68.00 kib | 20 kib/s .00 kib | 20 kib/s .00 kib | 20 kib/s resolving deltas: 100% (270/270) remote: total 412 (delta 270), reused 0 (delta 0)pleted 87 local objects. [name of our server here]:/[name of environment] + 343989a...a2571e8 head -> origin/head (forced update) error: ref refs/remotes/origin/master @ a2571e891886db718e991a06f9c2672882492c83 expected 343989a10253c1545537e963e70fc21f95f64d20 ! 343989a..ac6cb05 master -> origin/master (unable update local ref)
do same problem if checkout master , pull master? in...
git checkout master git pull origin master
also, might want take domain , repo name out of error message, people don't go trying clone project.
Comments
Post a Comment