Submit a patch

  • Make sure SSH key is added and enabled in your account.
  • In public repositories, patch branches can be pushed without commit access.
  • Clone this repository using terminal or any Git client
    git clone git@gitpatch.com:gitpatch/docs cd docs
  • Create a branch starting with patch/
    git switch -c patch/any-name-4eb9dd81
  • Commit your changes and push the branch
    git commit -m "My Patch Title" git push origin patch/any-name-4eb9dd81
  • To update the patch, push additional commits or rewrite history with a force push. Each push creates a new version of the patch.

Submit a stack of patches

  • Create a branch starting with patchstack/
    git switch -c patchstack/any-name-4eb9dd81
  • Make one or more commits and push the branch. Each commit will be treated as a separate patch.
    git commit -m "Patch 1" ... git commit -m "Patch 2" git push origin patchstack/any-name-4eb9dd81
  • To update one or more patches, amend or reorder the commits as needed and force push the updated branch.