👋 We've unified all of GitHub's product documentation in one place! Check out the content for REST API, GraphQL API, and Developers. Learn more on the GitHub blog.


Frecuentemente publicamos actualizaciones de nuestra documentación. Es posible que la traducción de esta página esté en curso. Para conocer la información más actual, visita la documentación en inglés. Si existe un problema con las traducciones en esta página, por favor infórmanos.
Versión del artículo: GitHub.com

About commits

You can save small groups of meaningful changes as commits.

En este artículo

About commits

Similar to saving a file that's been edited, a commit records changes to one or more files in your branch. Git assigns each commit a unique ID, called a SHA or hash, that identifies:

  • The specific changes
  • When the changes were made
  • Who created the changes

When you make a commit, you must include a commit message that briefly describes the changes.

You can add a co-author on any commits you collaborate on. For more information, see "Creating a commit with multiple authors."

You can also create a commit on behalf of an organization. For more information, see "Creating a commit on behalf of an organization."

Rebasing allows you to change a series of commits and can modify the order of the commits in your timeline. For more information, see "About git rebase."

Further reading

Pregunta a una persona

¿No puedes encontrar lo que estás buscando?

Contáctanos