Patches
Patch sets let you share a series of changes as a portable, reviewable unit — outside of a full pull request — for lightweight collaboration and code sharing.
Create a patch set
Export a range of commits as a patch set, which gets a shareable URL others can view and apply.
git format-patch main..feature --stdout > changes.patchApply
git apply changes.patch
# or, to keep authorship/commit messages:
git am changes.patchReview
Shared patch sets render with a diff view so reviewers can read the changes before applying them locally.