{
    "url": "https://delaparra-services.nl/knowledge-hub/git-push",
    "locale": "en",
    "title": "git push: Knowledge hub | DeLaParra Services",
    "description": "Upload local commits to the remote repository.",
    "alternates": {
        "en": "https://delaparra-services.nl/knowledge-hub/git-push",
        "nl": "https://delaparra-services.nl/nl/kennisbank/git-push"
    },
    "formats": {
        "csv": "https://delaparra-services.nl/knowledge-hub/git-push.csv",
        "md": "https://delaparra-services.nl/knowledge-hub/git-push.md",
        "json": "https://delaparra-services.nl/knowledge-hub/git-push.json",
        "zip": "https://delaparra-services.nl/knowledge-hub/git-push.zip",
        "pdf": "https://delaparra-services.nl/knowledge-hub/git-push.pdf"
    },
    "downloads": [
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push.csv",
            "encodingFormat": "text/csv",
            "name": "git-push.csv"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push.json",
            "encodingFormat": "application/json",
            "name": "git-push.json"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push.md",
            "encodingFormat": "text/markdown",
            "name": "git-push.md"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push.pdf",
            "encodingFormat": "application/pdf",
            "name": "git-push.pdf"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push.zip",
            "encodingFormat": "application/zip",
            "name": "git-push.zip"
        },
        {
            "url": "https://delaparra-services.nl/knowledge-hub/git-push/skills.zip",
            "encodingFormat": "application/zip",
            "name": "git-push-skills.zip"
        }
    ],
    "markdown": "1. [Home](<https://delaparra-services.nl/>) \n1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) \n1. [git push](<https://delaparra-services.nl/knowledge-hub/git-push>)\n\n  \n\nCategory: Git commands \n\n# git push\n\n  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    \n\n## What is git push?\n\n \n\ngit push: Upload local commits to the remote repository. ` git push ` uploads your local commits to the remote repository, so others can see them and CI can run. ` git push -u origin feature/export ` pushes a new branch and sets it as the upstream for later pushes. If someone else pushed to the same branch in the meantime, Git rejects your push. Pull or fetch and rebase first, then push again.\n\n \n\nDefinition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)\n\n \n\n## Frequently asked questions about git push\n\n  \n\n### What should you keep in mind with git push?\n\n \n\nAvoid ` git push --force ` on shared branches, because it overwrites other people's commits. When you really need to rewrite a branch you pushed earlier, for example after rebasing your own feature branch, use ` --force-with-lease `. It refuses to overwrite if the remote changed since you last fetched. Protect important branches like main on GitHub or GitLab so force pushes are not possible there at all.\n\n \n\n## At a glance\n\n   CategoryGit commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026\n\n \n\n## More Git commands terms\n\n \n\n- [git log](<https://delaparra-services.nl/knowledge-hub/git-log>) \n- [git merge](<https://delaparra-services.nl/knowledge-hub/git-merge>) \n- [git pull](<https://delaparra-services.nl/knowledge-hub/git-pull>) \n- [git rebase](<https://delaparra-services.nl/knowledge-hub/git-rebase>) \n- [git remote](<https://delaparra-services.nl/knowledge-hub/git-remote>) \n- [git reset](<https://delaparra-services.nl/knowledge-hub/git-reset>)\n\n \n\n[All terms starting with G](<https://delaparra-services.nl/knowledge-hub#letter-g>)\n\n \n\n## Skills\n\n \n\n- ### Finishing a Development Branch\n\n \n\nUse when implementation is complete, all tests pass, and you need to decide how to integrate the work\n\n [View skill](<https://delaparra-services.nl/skills/finishing-a-development-branch>) [Download zip](<https://delaparra-services.nl/skills/finishing-a-development-branch/download>) \n- ### Requesting Code Review\n\n \n\nUse when completing tasks, implementing major features, or before merging to verify work meets requirements\n\n [View skill](<https://delaparra-services.nl/skills/requesting-code-review>) [Download zip](<https://delaparra-services.nl/skills/requesting-code-review/download>) \n- ### PR Review\n\n \n\nReview a GitHub pull request by orchestrating reviewer + oracle sub-agents directly from the orchestrating session, consolidating their findings into a single report, and asking for approval before posting. Interactive by default; set PR\\_REVIEW\\_MODE=post to post the review as a plain comment without asking, for headless dispatch. Use when user says \"review PR \\#N\", \"review pull request\", \"review th\n\n [View skill](<https://delaparra-services.nl/skills/pr-review>) [Download zip](<https://delaparra-services.nl/skills/pr-review/download>)\n\n [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/git-push/skills.zip>)\n\n \n\n## Manuals\n\n \n\n- [Working with Git](<https://delaparra-services.nl/manuals/werken-met-git>) \n- [Git: branches, rebase and merge conflicts](<https://delaparra-services.nl/manuals/git-branches-rebase-en-merge-conflicten>)\n\n \n\n## Related services\n\n \n\n- [AI code review](<https://delaparra-services.nl/services#service-05>)\n\nWhen you push your new change, I will review your code, help your agent avoid the same mistake again, and get your app ready for deployment. \n- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)\n\nIf you want to use a coding agent, we provide all the infrastructure to help it work efficiently.\n\n \n\n## Need any help?\n\n \n\nStuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.\n\n  [Get in touch](<https://delaparra-services.nl/availability>)\n\n[HTML version](https://delaparra-services.nl/knowledge-hub/git-push)\n",
    "structured_data": {
        "@context": "https://schema.org",
        "@graph": [
            {
                "@type": "Organization",
                "@id": "https://delaparra-services.nl/#practice",
                "logo": "https://delaparra-services.nl/logo.png",
                "name": "DeLaParra Services",
                "legalName": "DeLaParra Services",
                "url": "https://delaparra-services.nl/",
                "description": "Bespoke software, web applications and mobile apps, developed in Laravel by a single developer in Groningen. Fixed price agreed in advance, full source code provided upon delivery.",
                "email": "info@delaparra-services.nl",
                "address": {
                    "@type": "PostalAddress",
                    "addressLocality": "Groningen",
                    "addressRegion": "Groningen",
                    "addressCountry": "NL"
                },
                "areaServed": "Groningen, the Netherlands",
                "knowsLanguage": [
                    "en",
                    "nl"
                ],
                "knowsAbout": [
                    "Web design and development",
                    "App development",
                    "Custom software and web applications",
                    "OpenSpec",
                    "AI code review",
                    "Your own coding agent"
                ],
                "founder": {
                    "@id": "https://delaparra-services.nl/#person"
                }
            },
            {
                "@type": "FAQPage",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-push#webpage",
                "url": "https://delaparra-services.nl/knowledge-hub/git-push",
                "name": "git push: Knowledge hub | DeLaParra Services",
                "description": "Upload local commits to the remote repository.",
                "isPartOf": {
                    "@id": "https://delaparra-services.nl/#website"
                },
                "about": {
                    "@type": "DefinedTerm",
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-push#term",
                    "name": "git push",
                    "description": "Upload local commits to the remote repository.",
                    "termCode": "git-push",
                    "url": "https://delaparra-services.nl/knowledge-hub/git-push",
                    "inLanguage": "en",
                    "keywords": "Git commands",
                    "dateModified": "2026-11-25T17:46:27+00:00",
                    "inDefinedTermSet": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#terms"
                    },
                    "isPartOf": {
                        "@id": "https://delaparra-services.nl/knowledge-hub#dataset"
                    },
                    "subjectOf": [
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/git-push#webpage"
                        },
                        {
                            "@id": "https://delaparra-services.nl/knowledge-hub/git-push#dataset"
                        }
                    ]
                },
                "inLanguage": "en",
                "breadcrumb": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-push#breadcrumb"
                },
                "mainEntity": [
                    {
                        "@type": "Question",
                        "name": "What is git push?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Upload local commits to the remote repository. git push uploads your local commits to the remote repository, so others can see them and CI can run. git push -u origin feature/export pushes a new branch and sets it as the upstream for later pushes. If someone else pushed to the same branch in the meantime, Git rejects your push. Pull or fetch and rebase first, then push again."
                        }
                    },
                    {
                        "@type": "Question",
                        "name": "What should you keep in mind with git push?",
                        "acceptedAnswer": {
                            "@type": "Answer",
                            "text": "Avoid git push --force on shared branches, because it overwrites other people's commits. When you really need to rewrite a branch you pushed earlier, for example after rebasing your own feature branch, use --force-with-lease. It refuses to overwrite if the remote changed since you last fetched. Protect important branches like main on GitHub or GitLab so force pushes are not possible there at all."
                        }
                    }
                ],
                "author": {
                    "@id": "https://delaparra-services.nl/#person"
                },
                "mentions": [
                    {
                        "@id": "https://delaparra-services.nl/skills/finishing-a-development-branch#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/requesting-code-review#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/skills/pr-review#skill"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/werken-met-git#article"
                    },
                    {
                        "@id": "https://delaparra-services.nl/manuals/git-branches-rebase-en-merge-conflicten#article"
                    }
                ]
            },
            {
                "@type": "BreadcrumbList",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-push#breadcrumb",
                "itemListElement": [
                    {
                        "@type": "ListItem",
                        "position": 1,
                        "name": "Home",
                        "item": "https://delaparra-services.nl/"
                    },
                    {
                        "@type": "ListItem",
                        "position": 2,
                        "name": "Knowledge hub",
                        "item": "https://delaparra-services.nl/knowledge-hub"
                    },
                    {
                        "@type": "ListItem",
                        "position": 3,
                        "name": "git push"
                    }
                ]
            },
            {
                "@type": "Person",
                "@id": "https://delaparra-services.nl/#person",
                "name": "Reinier de la Parra",
                "url": "https://delaparra-services.nl/about"
            },
            {
                "@type": "Dataset",
                "@id": "https://delaparra-services.nl/knowledge-hub/git-push#dataset",
                "name": "git push",
                "description": "Upload local commits to the remote repository. Downloadable as CSV, JSON, Markdown, PDF and ZIP.",
                "url": "https://delaparra-services.nl/knowledge-hub/git-push",
                "identifier": "https://delaparra-services.nl/knowledge-hub/git-push#dataset",
                "about": {
                    "@id": "https://delaparra-services.nl/knowledge-hub/git-push#term"
                },
                "creator": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "publisher": {
                    "@id": "https://delaparra-services.nl/#practice"
                },
                "license": "https://creativecommons.org/licenses/by/4.0/",
                "creditText": "Coders Lingo (https://coderslingo.com/resources/open-dataset/), CC BY 4.0",
                "isAccessibleForFree": true,
                "inLanguage": "en",
                "keywords": "Git commands",
                "version": "2026-11-25",
                "dateModified": "2026-11-25T17:46:27+00:00",
                "isPartOf": {
                    "@type": "Dataset",
                    "@id": "https://delaparra-services.nl/knowledge-hub#dataset",
                    "name": "IT terms from A to Z",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "includedInDataCatalog": {
                    "@type": "DataCatalog",
                    "@id": "https://delaparra-services.nl/knowledge-hub#catalog",
                    "name": "Knowledge hub data catalog",
                    "url": "https://delaparra-services.nl/knowledge-hub"
                },
                "distribution": [
                    {
                        "@type": "DataDownload",
                        "name": "git-push.csv",
                        "encodingFormat": "text/csv",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push.csv",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-push.json",
                        "encodingFormat": "application/json",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push.json",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-push.md",
                        "encodingFormat": "text/markdown",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push.md",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-push.pdf",
                        "encodingFormat": "application/pdf",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push.pdf",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-push.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    },
                    {
                        "@type": "DataDownload",
                        "name": "git-push-skills.zip",
                        "encodingFormat": "application/zip",
                        "contentUrl": "https://delaparra-services.nl/knowledge-hub/git-push/skills.zip",
                        "inLanguage": "en",
                        "dateModified": "2026-11-25T17:46:27+00:00",
                        "license": "https://creativecommons.org/licenses/by/4.0/"
                    }
                ]
            }
        ]
    }
}