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

feature/branch_name

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

Like it.? Share it:
Tags:

Comments are closed.