The receiving side does not support push options

At first my git server version was 2.7.4 and the error was accurate. Subsequently, however, I updated and confirmed this using the git version:

Server

$ git --version  
git version 2.13.0

Client

$ git --version  
git version 2.11.0 (Apple Git-81)

However, when I try to click, this will happen:

$ git push --push-option=test  
fatal: the receiving end does not support push options  
fatal: The remote end hung up unexpectedly

Despite the fact that according to the documentation this should be supported both in the client version and in the server version:
2.11.0
2.13.0

I even created two new local repositories for each, and then tried to push another local repository (so that it does not even exchange data between another server), but I still get this error. Is there something I need to include? I can not find anything about doing this in the docs.

+4
1

, push, , , : https://git-scm.com/docs/git-config#git-config-receiveadvertisePushOptions

$ git config receive.advertisePushOptions true

- git push , , - .

+6

Source: https://habr.com/ru/post/1682614/


All Articles