gitazure-functions

Azure Function local git "RPC failed; HTTP 400 curl 22 The requested URL returned error: 400" if the repo is too large


Azure Function shows RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 if the repo is too large

OS is Windows


Solution

  • 2 actions are perform to fix the issue:

    Action 1: Upgrade git to latest version https://git-scm.com/downloads

    git version 2.30.1.windows.1

    Action 2: Use cmd instead of git bash (Probably a bug...)