Pushing all local branches fails

I have multiple independent branches in local repository, that I want to push to new remote repo on gitlab. But when I use git push -u origin -all, operation keeps failing after uploading a branch. I have just created new repository on gitlab without changing anything or adding any hooks. Anything I can do to make sure all my branches will be pushed to remote repository, because I will often be pushing multiple branches.

I tried exact same thing on github, and all branches were pushed without any issues.

$ git push -u origin --all
Counting objects: 582, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (582/582), done.
Writing objects: 100% (582/582), 210.92 KiB | 2.42 MiB/s, done.
Total 582 (delta 456), reused 0 (delta 0)
remote: Resolving deltas: 100% (456/456), completed with 71 local objects.
error executing git hookerror executing git hookfatal: ref updates aborted by hook
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly

Which is the size of the repository you want to push?

1 Like

GitLab fixed the issue yesterday.

1 Like