I have public repository at github.com with 2 branches : "master" and "test".
I created new dir locally and did:
[ ] git clone [email protected]:{username}/{projectname}.git
Then i created new branch named "my_test" with
[ ] git branch my_test
and switched to it.
[ ] git checkout my_test
Then i merged it from my "test" branch of my public repository with
[ ] git merge origin/test
and it resulted in Fast forward.
I made some changes and committed it. Then i tried to push local "my_test" branch to public "test" branch at github with
[ ] git push [email protected]:{username}/{projectname}.git test
and get this error:
error: src refspec test does not match any.
fatal: The remote end hung up unexpectedly
error: failed to push some refs to '[email protected]:{username}/{projectname}.git
What i am doing wrong ?