diff --git a/README.md b/README.md index 23f936d..a98b104 100644 --- a/README.md +++ b/README.md @@ -678,7 +678,7 @@ git remote prune origin ## Delete local branches that has been squash and merged in the remote. ```sh -git branch -vv | grep ': gone]' | awk '{print }' | xargs git branch -D +git branch -vv | grep ': gone]' | awk '$1 != "*" {print $1}' | xargs git branch -D ``` ## Retrieve the commit hash of the initial revision.