{
    "content": [
        {
            "type": "text",
            "text": "# git-http-push (man)\n\n## NAME\n\ngit-http-push - Push objects over HTTP/DAV to another repository\n\n## SYNOPSIS\n\ngit http-push [--all] [--dry-run] [--force] [--verbose] <url> <ref> [<ref>...]\n\n## DESCRIPTION\n\nSends missing objects to remote repository, and updates the remote branch.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (5 subsections)\n- **SPECIFYING THE REFS**\n- **GIT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "git-http-push",
        "section": "",
        "mode": "man",
        "summary": "git-http-push - Push objects over HTTP/DAV to another repository",
        "synopsis": "git http-push [--all] [--dry-run] [--force] [--verbose] <url> <ref> [<ref>...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "",
                "long": "--all",
                "arg": null,
                "description": "Do not assume that the remote repository is complete in its current state, and verify all objects in the entire local ref’s history exist in the remote repository."
            },
            {
                "flag": "",
                "long": "--force",
                "arg": null,
                "description": "Usually, the command refuses to update a remote ref that is not an ancestor of the local ref used to overwrite it. This flag disables the check. What this means is that the remote repository can lose commits; use it with care."
            },
            {
                "flag": "",
                "long": "--dry-run",
                "arg": null,
                "description": "Do everything except actually send the updates."
            },
            {
                "flag": "",
                "long": "--verbose",
                "arg": null,
                "description": "Report the list of objects being walked locally and the list of objects successfully sent to the remote repository."
            },
            {
                "flag": "-D",
                "long": null,
                "arg": null,
                "description": "Remove <ref> from remote repository. The specified branch cannot be the remote HEAD. If -d is specified the following other conditions must also be met: • Remote HEAD must resolve to an object that exists locally • Specified branch resolves to an object that exists locally • Specified branch is an ancestor of the remote HEAD <ref>... The remote refs to update."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "--all",
                        "lines": 3,
                        "long": "--all"
                    },
                    {
                        "name": "--force",
                        "lines": 4,
                        "long": "--force"
                    },
                    {
                        "name": "--dry-run",
                        "lines": 2,
                        "long": "--dry-run"
                    },
                    {
                        "name": "--verbose",
                        "lines": 3,
                        "long": "--verbose"
                    },
                    {
                        "name": "-d, -D",
                        "lines": 12,
                        "flag": "-D"
                    }
                ]
            },
            {
                "name": "SPECIFYING THE REFS",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "GIT",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "git-http-push - Push objects over HTTP/DAV to another repository\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "git http-push [--all] [--dry-run] [--force] [--verbose] <url> <ref> [<ref>...]\n\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Sends missing objects to remote repository, and updates the remote branch.\n\nNOTE: This command is temporarily disabled if your libcurl is older than 7.16, as the\ncombination has been reported not to work and sometimes corrupts repository.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "--all",
                        "content": "Do not assume that the remote repository is complete in its current state, and verify all\nobjects in the entire local ref’s history exist in the remote repository.\n",
                        "long": "--all"
                    },
                    {
                        "name": "--force",
                        "content": "Usually, the command refuses to update a remote ref that is not an ancestor of the local\nref used to overwrite it. This flag disables the check. What this means is that the\nremote repository can lose commits; use it with care.\n",
                        "long": "--force"
                    },
                    {
                        "name": "--dry-run",
                        "content": "Do everything except actually send the updates.\n",
                        "long": "--dry-run"
                    },
                    {
                        "name": "--verbose",
                        "content": "Report the list of objects being walked locally and the list of objects successfully sent\nto the remote repository.\n",
                        "long": "--verbose"
                    },
                    {
                        "name": "-d, -D",
                        "content": "Remove <ref> from remote repository. The specified branch cannot be the remote HEAD. If\n-d is specified the following other conditions must also be met:\n\n•   Remote HEAD must resolve to an object that exists locally\n\n•   Specified branch resolves to an object that exists locally\n\n•   Specified branch is an ancestor of the remote HEAD\n\n<ref>...\nThe remote refs to update.\n",
                        "flag": "-D"
                    }
                ]
            },
            "SPECIFYING THE REFS": {
                "content": "A <ref> specification can be either a single pattern, or a pair of such patterns separated by\na colon \":\" (this means that a ref name cannot have a colon in it). A single pattern <name>\nis just a shorthand for <name>:<name>.\n\nEach pattern pair consists of the source side (before the colon) and the destination side\n(after the colon). The ref to be pushed is determined by finding a match that matches the\nsource side, and where it is pushed is determined by using the destination side.\n\n•   It is an error if <src> does not match exactly one of the local refs.\n\n•   If <dst> does not match any remote ref, either\n\n•   it has to start with \"refs/\"; <dst> is used as the destination literally in this\ncase.\n\n•   <src> == <dst> and the ref that matched the <src> must not exist in the set of remote\nrefs; the ref matched <src> locally is used as the name of the destination.\n\nWithout ‘--force`, the <src> ref is stored at the remote only if <dst> does not exist, or\n<dst> is a proper subset (i.e. an ancestor) of <src>. This check, known as \"fast-forward\ncheck\", is performed in order to avoid accidentally overwriting the remote ref and lose other\npeoples’ commits from there.\n\nWith --force, the fast-forward check is disabled for all refs.\n\nOptionally, a <ref> parameter can be prefixed with a plus + sign to disable the fast-forward\ncheck only on that ref.\n",
                "subsections": []
            },
            "GIT": {
                "content": "Part of the git(1) suite\n\n\n\nGit 2.34.1                                   02/26/2026                             GIT-HTTP-PUSH(1)",
                "subsections": []
            }
        }
    }
}