Actualiser README.md
This commit is contained in:
parent
9b48389388
commit
4fc26a9202
13
README.md
13
README.md
@ -96,13 +96,12 @@ return 0;
|
||||
| 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.
|
||||
|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.
|
||||
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.
|
||||
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.
|
||||
|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.|
|
||||
|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.|
|
||||
|6. |git branch -v |Liste les branches sur le repo local.|
|
||||
|7. |git branch -v -a |Liste les branches sur le repo distant.
|
||||
9. git branch --merged Liste toutes les branches ayant subies un merge vers d’autres branches.
|
||||
10. git branch --no-merged Liste toutes les branches n’ayant jamais subies un merge.
|
||||
11. git log Affiche l’historique des commits effectués sur la branche courante avec leurs SHA1 (très verbeux).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user