My colleague created a branch. I am trying to checkout to the branch.
git checkout hisName/branchNameWithAHash#Inside
The terminal returns
zsh: no matches found: hisName/branchNameWithAHash#Inside
If I do git branch -r
, I can see the remote branch does exist:
origin/HEAD -> origin/master
origin/hisName/branchNameWithAHash#Inside
origin/master
Why am I getting no matches found
?
${....}
parameter expansion, where the#
indeed would have a special meaning. – Marsupiumecho
instead of agit checkout
? What is your zsh version? – Marsupiumecho echo stringwithhash#
I getzsh: no matches found: stringwithhash#
– Prefigure