No results found.
Explore by product
GitHub
Get startedAccount and profileGitHubEnterprise administratorsBilling and paymentsOrganizationsCode securityGitHub IssuesGitHub ActionsGitHub CodespacesGitHub PackagesDevelopersREST APIGraphQL APIGitHub CLIGitHub DiscussionsGitHub SponsorsBuilding communitiesGitHub PagesEducationGitHub DesktopAtomElectronCodeQL
Creating and editing commits
About commits→
You can save small groups of meaningful changes as commits.
Creating a commit with multiple authors→
You can attribute a commit to more than one author by adding one or more
Co-authored-bytrailers to the commit's message. Co-authored commits are visible on GitHub.Creating a commit on behalf of an organization→
You can create commits on behalf of an organization by adding a trailer to the commit's message. Commits attributed to an organization include an
on-behalf-ofbadge on GitHub.Changing a commit message→
If a commit message contains unclear, incorrect, or sensitive information, you can amend it locally and push a new commit with a new message to GitHub. You can also change a commit message to add missing information.
Help us make these docs great!
All GitHub docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contribution