Answer the question
In order to leave comments, you need to log in
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
! [remote rejected] develop -> develop (pre-receive hook declined)
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 instal
l and only then checkout the commit and try to push it to the repository
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question