The act of checking in files in a source control repository like git, mercurial or svn, is called a commit. Does anyone know the reason behind calling it a commit instead of just check in?
English is not my mother tongue, so it might be some linguistic I don’t quite get her, but what I’m I actually commiting to? (Hopefully I’m not commiting a crime, but you’ll never know.)
Is it in the meaning of “to consign for preservation”? Is it related to transactions (commit at the end of a transaction)?
The word “commit” can also mean to secure something for future use or for preservation. For example, “He committed the password to memory.” When you “commit” your changes, you are locking them in as they are now for future preservation.