Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| git [2024/12/12 17:28] – [Branches] mgupton | git [2026/03/31 20:43] (current) – mgupton | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| A general guide for the distributed version control system Git. | A general guide for the distributed version control system Git. | ||
| + | * [[git init]] | ||
| * {{ : | * {{ : | ||
| Line 136: | Line 137: | ||
| * Then delete the local branch | * Then delete the local branch | ||
| <code bash> | <code bash> | ||
| - | git push -d < | + | git push -d < |
| - | git branch -d <branchname> | + | git branch -d <branch name> |
| + | </ | ||
| + | |||
| + | To force delete an unmerged branch | ||
| + | <code bash> | ||
| + | git branch -D <branch name> | ||
| </ | </ | ||