Maintenant que nous avons nos fichiers en staging, nous pouvons créer un commit avec la commande commit.
Now that we have our file in the staging area, we can properly commit it with the commit command.
La commande COMMIT est la commande transactionnelle utilisée pour enregistrer les modifications invoquées par une transaction à la base de données.
The COMMIT command is the transactional command used to save changes invoked by a transaction to the database.
La commande COMMIT enregistre toutes les transactions à la base de données depuis la dernière commande validée ou annulée.
The COMMIT command saves all transactions to the database since the last COMMIT or ROLLBACK command.
La commande ROLLBACK ne peut être utilisé pour annuler les transactions depuis la dernière commande COMMIT ou ROLLBACK.
The ROLLBACK command can only be used to undo transactions since the last COMMIT or ROLLBACK command was issued.
Quand votre HEAD est détachée, la commande commit fonctionne normalement, excepté le fait qu'aucune branche (nommée) n'est mise à jour.
When HEAD is detached, commits work like normal, except no named branch gets updated.
Aucune opération create, drop, insert, truncate, delete ou update n'est validée avant que vous ayez utilisé la commande commit
commit The insert, truncate, delete, and update operations aren't actually committed until web2py issues the commit command.
Nous pouvons créer notre commit de base en utilisant la commande commit-tree, qui accepte juste un arbre et nous fournit un SHA-1 d'un objet commit orphelin tout nouveau.
We can create our base commit using the commit-tree command, which just takes a tree and will give us a brand new, parentless commit object SHA back.
en utilisant les options - interactive ou - patch avec la commande commit pour choisir quels fichiers ou sections de fichier doivent être inclus dans le commit en plus de l'index, avant finalisation de l'opération.
by using the - interactive or - patch switches with the commit command to decide one by one which files or hunks should be part of the commit in addition to contents in the index, before finalizing the operation.
Si la transaction a modifié des paramètres en exécution à l'aide de la commande SET, ces effets persistent au-delà du PREPARE TRANSACTION et ne seront pas affectés par les commandes COMMIT PREPARED et ROLLBACK PREPARED.
If the transaction modified any run-time parameters with SET, those effects persist after PREPARE TRANSACTION, and will not be affected by any later COMMIT PREPARED or ROLLBACK PREPARED.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.