git bash 转义括号 - Ubuntu
git bash escaping brackets - Ubuntu
我已将一个临时页面复制到暂存区,但无法删除它。
bash: 意外标记附近的语法错误`('
src/app/components/hotels/hotelsFactory(复制).js
我已经尝试使用反斜杠进行所有转义,但似乎无法删除它:
rm src/app/components/hotels/hotelsFactory(另一份).js
你只需要引用名字即可。看看 this answer.
你的情况是:
git rm "src/app/components/hotels/hotelsFactory (another copy)".js
我已将一个临时页面复制到暂存区,但无法删除它。
bash: 意外标记附近的语法错误`('
src/app/components/hotels/hotelsFactory(复制).js
我已经尝试使用反斜杠进行所有转义,但似乎无法删除它:
rm src/app/components/hotels/hotelsFactory(另一份).js
你只需要引用名字即可。看看 this answer.
你的情况是:
git rm "src/app/components/hotels/hotelsFactory (another copy)".js