Actualiser README.md

This commit is contained in:
bastien 2025-04-10 06:05:12 +00:00
parent 994395dd07
commit 7790bf4d58

View File

@ -93,7 +93,9 @@ return 0;
``` ```
#Memo git (crédit develloppez.com) #Memo git (crédit develloppez.com)
Commande Git Description succinte Commande Git Description succinte
|1. |git branch |newBranch Crée dans le repo local la nouvelle branche newBranch qui est un fork de la branche courante. | Indice | Commande | Description |
|--- |:-: |:-: |
|1. |git branch |newBranch Crée dans le repo local la nouvelle branche newBranch qui est un fork de la branche courante.|
2. git branch -m locBranch Renomme la branche courante avec le nouveau nom locBranch. 2. git branch -m locBranch Renomme la branche courante avec le nouveau nom locBranch.
3. git branch -d locBranch Supprime la branche locBranch du repo local. 3. git branch -d locBranch Supprime la branche locBranch du repo local.
4. git branch -u origin/remBranch Ordonne à la branche courante de traquer la branche distante remBranch. 4. git branch -u origin/remBranch Ordonne à la branche courante de traquer la branche distante remBranch.