In git, I named a branch: parse()
The name has been accepted, but when merging I get the error:
git merge parse()
bash: syntax error near unexpected token ‘(‘
Is it possible to rename a branch? Are there other ways to fix this problem?
Thank you!
Platform: Linux, bash
Try merging by putting quotes around the branch name instead, e.g.:
You can rename a branch, but it’s not so straightforward. Wherever you want to use the branch name, just use quotes (single or double!).