docs(git): rework the way we delete a branch

This commit is contained in:
Julien Le Coupanec 2020-09-27 17:56:05 +02:00
parent 6a18dc96f1
commit 8b1ae69f76
1 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@ git branch my-branch # creates my-branch
git branch -d my-branch # deletes my-branch
git checkout my-bracnch # switches to my-branch
git merge my-branch # merges my-branch to current branch
git push origin :my-branch # delete remote branch
git push origin --delete my-branch # delete remote branch
git cherry-pick <commit_id> # merge the specified commit