projtec:git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| projtec:git [2021/01/17 00:33] – [Utilisation du Worktree] orel | projtec:git [2024/03/18 15:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 452: | Line 452: | ||
| L' | L' | ||
| + | === Suppression d'une Branche Distante ==== | ||
| + | |||
| + | Pour supprimer une branche locale sur votre ordinateur, la commande est la suivante : | ||
| + | |||
| + | $ git branch -d [nom_de_la_branche] | ||
| + | |||
| + | Ou bien : | ||
| + | |||
| + | $ git branch -D [nom_de_la_branche] | ||
| + | |||
| + | Pour supprimer la branche située sur le dépôt distant (syntaxe récente) : | ||
| + | |||
| + | $ git push origin --delete [nom_de_la_branche] | ||
| + | |||
| + | Pour mettre à jour les changements sur un autre ordinateur, il faut faire : | ||
| + | |||
| + | $ git fetch --all -prune | ||
| + | |||
| + | => https:// | ||
| ==== Suppression de Commit Fautifs sur le dépôt distant ==== | ==== Suppression de Commit Fautifs sur le dépôt distant ==== | ||
projtec/git.1610843599.txt.gz · Last modified: 2024/03/18 15:05 (external edit)
