commit
- Ejemplos
El método commit es uno que necesitamos muy a menudo. | The commit method is one we need very often. |
Entonces apunta el presente branch a este nuevo commit. | It then points the current branch to this new commit. |
¿Qué sucede si intentas enviar una commit de fusión? | What happens if you try to submit a merge commit? |
Cuando estés listo para realizar los cambios, debes llamar a commit(). | When you're ready to make the changes, you must call commit(). |
ESI interpretará ahora dos posibilidades: To commit y to eat. | ESI will now interpret two possibilities: To commit and to eat. |
El comando svn commit envía todos sus cambios al repositorio. | The svn commit command sends all of your changes to the repository. |
El siguiente fragmento muestra cómo acceder a las propiedades del commit. | The next chunk shows how to access the commit's properties. |
Registrar tu trabajo incompleto como un nuevo commit. | Record your incomplete work as a new commit. |
Empujar el commit y hacer una solicitud de pull¶ | Pushing the commit and making a pull request¶ |
Ambos archivos están estacionados y serán enviados en el próximo commit. | Both files are staged and will go into your next commit. |
Cualquier commit nuevo que agregues será parte de la nueva rama. | Any new commits you add will be part of the new branch. |
Otra forma principal de especificar un commit es por sus ancestros. | The other main way to specify a commit is via its ancestry. |
Esto abre un editor de texto para escribir el mensaje del commit. | This opens up a text editor to type the commit message. |
Antes de mezclar, el stage debe coincidir con el commit actual. | Before merging, the stage must match the current commit. |
Solo tiene efecto si commit() devuelve True. | Only has effect if commit() returns True. |
Rugged (y Libgit2) pueden actualizar opcionalmente una referencia al hacer un commit. | Rugged (and Libgit2) can optionally update a reference when making a commit. |
Llamar a commit() no realiza la transacción inmediatamente. | Calling commit() doesn't perform the transaction immediately. |
A continuación, intente hacer que cada commit un conjunto de cambios lógicamente separado. | Next, try to make each commit a logically separate changeset. |
Ahora queremos hacer un cambio en ese archivo y hacerle commit. | Now we want to make a change to that file and commit it. |
No hagas el commit de la solución en el repositorio. | Do not commit the fix to the repository. |
