M
M
maximkalga2016-01-16 16:49:28
git
maximkalga, 2016-01-16 16:49:28

Why is Git not pushing to the end?

When pushing, it reaches a certain point, hangs, gives an error:
! [remote rejected] develop -> develop (pre-receive hook declined)
error: failed to push some refs to '***********'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2016-01-16
@jcmvbkbc

! [remote rejected] develop -> develop (pre-receive hook declined)

pre-receive hook on the server side rejects your request. Deal with him.

A
Alexey Burlakov, 2021-04-16
@redflasher

Perhaps your commit includes large files.
If so, then try (if the commit history is zero or not so important) delete the .git folder, then re-initialize git ( git init) and then execute git lfs install and only then checkout the commit and try to push it to the repository

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question