无法在bash中破折号

时间:2018-11-01 10:20:12

标签: zshrc

如何在bash config / .zshrc中添加破折号?

我有alias gc='git commit -m',但是像gc 'test'这样使用时,我得到:

error: pathspec 'test' did not match any file(s) known to git

你知道为什么吗?

0 个答案:

没有答案