git push remote branch error: src refspec xxx d

git push remote branch error: src refspec xxx does not match any.


error: src refspec xxx does not match any.
error: failed to push some refs to 'ssh://git@'

Solution: git push origin HEAD:branchName

Guess you like

Origin blog.csdn.net/lwz622/article/details/109694614