error: dst ref refs/heads/dev receives from more than one src.

使用git push origin a:a 提示一下错误:

error: dst ref refs/heads/dev receives from more than one src.
error: failed to push some refs to '[email protected]:xxx/xxx.git'

这个问题主要是由于参数不对,它明明要三个参数「push」「origin」以及「A:A」的,你却给它五个:「push」「origin」「A」「:」「A」。shell 中空格导致的问题不少,比如这个:一个空格引发的惨剧。

猜你喜欢

转载自blog.csdn.net/hanmindaxiongdi/article/details/81433730