grimoire

personal wiki
git clone git://git.pyratebeard.net/grimoire.git
Log | Files | Refs

commit 20d500b0e260c7cb030b99d788f50776da911479
parent ac357035bdf91c5dad7dbdd019b62ae6aafc599f
Author: pyratebeard <root@pyratebeard.net>
Date:   Thu, 21 Mar 2019 16:29:15 +0000

delete remote branch

Diffstat:
Mcoding/git.md | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/coding/git.md b/coding/git.md @@ -15,6 +15,11 @@ force push of a previous commit git push -f origin <commit_id>:<branch> ``` +delete remote branch +``` +git push --delete origin <branch> +``` + reset local branch after a forced-update (above) ``` git fetch