Git push to TFS stop on 100 percent -


when push media file (swf or png) tfs, process hangs @ 100%, regardless of file size:

git.exe push --progress "origin" develop:develop  counting objects: 82, done. delta compression using 4 threads. compressing objects: 100% (23/23), done. writing objects: 100% (23/23), 335.75 kib | 0 bytes/s, done. total 23 (delta 16), reused 0 (delta 0) 

i stumbled across one. seems push hangs if commit contains png file (as in case). response got when sniffing network was:

    401 - unauthorized: access denied due invalid credentials.      not have permission view directory      or page using credentials supplied. 

which beside point; can authenticate, clone , pull fine.

try this, worked me:

  1. reset commit (git reset head~1 if it's last commit). fine long haven't pushed.
  2. add files git index again, without png-file.
  3. commit.
  4. push.

the problem in tfs , need involve administrator.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -