git push origin feature refspec error

If you try to

git push -u origin feature/branch_name

and you get this error “error: src refspec feature/branch_name does not match any”, it means that your local branch are not named correctly. It should be named


as well, not just branch_name. Do a “git branch” to confirm yourself.

Like it.? Share it:

Comments are closed.