[Solved] Zsh: one of the solutions to parse error near ‘\n’

There are unnecessary branches in the remote warehouse. You want to delete them locally

Input command:

git push origin --delete <feature/yuh_add_authority>

feature/yuh_add_authority --- for the remote repository branch name

Then report an error:

zsh: parse error near `\n'

Solution: do not add <>

git push origin --delete feature/yuh_add_authority

Successfully deleted remote warehouse branch:

Read More: