f8b59ac1b9e0135240c011d7afd91d1b04b1ee89
coding/git.md
... | ... | @@ -15,6 +15,11 @@ force push of a previous commit |
15 | 15 | git push -f origin <commit_id>:<branch> |
16 | 16 | ``` |
17 | 17 | |
18 | +delete remote branch |
|
19 | +``` |
|
20 | +git push --delete origin <branch> |
|
21 | +``` |
|
22 | + |
|
18 | 23 | reset local branch after a forced-update (above) |
19 | 24 | ``` |
20 | 25 | git fetch |