on-internet
← Community

git push a sub branch

Stack Overflow ·

I was in branch feature_swap there I did some change but I am not confident enough to push those changes in feature_swap branch. So I tried to create another sub branch feature_swap_experiment with git branch feature_swap_experiment git checkout feature_swap_experiment Now I want to push to feature_swap_experiment I've tried git push origin feature_swap_experiment which is not working error: src refspec feature_swap_experiment does not match any. error: failed to push some refs to 'https://[email protected]/uname/project.git'

Comments

Sign in or sign up to comment and upvote.

No comments yet.