Actualiser README.md
This commit is contained in:
parent
7790bf4d58
commit
9b48389388
10
README.md
10
README.md
@ -95,11 +95,11 @@ return 0;
|
|||||||
Commande Git Description succinte
|
Commande Git Description succinte
|
||||||
| Indice | Commande | Description |
|
| 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.|
|
|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.
|
||||||
5. git branch --track locBranch origin/remBranch Similaire à la commande numéro 4, à la différence qu'on explicite la branche locale qui traque : locBranch.
|
5. git branch --track locBranch origin/remBranch |Similaire à la commande numéro 4, à la différence qu'on explicite la branche locale qui traque : locBranch.
|
||||||
6. git branch -v Liste les branches sur le repo local.
|
6. git branch -v Liste les branches sur le repo local.
|
||||||
7. git branch -v -a Liste les branches sur le repo distant.
|
7. git branch -v -a Liste les branches sur le repo distant.
|
||||||
8. git branch -r | wc -l Compte le nombre de branches effectivement présentes sur le repo distant.
|
8. git branch -r | wc -l Compte le nombre de branches effectivement présentes sur le repo distant.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user