Answer the question
In order to leave comments, you need to log in
Push changes to another branch?
There are two branches:
master and develop.
Cloned the repository, made changes (it turns out in master):
git branch -a
gives:
* master
remotes/origin/HEAD -> origin/master
remotes/origin/develop
remotes/origin/docs
remotes/origin/master
git push origin develop
gives an error:error: src refspec develop does not match any
error: failed to push some refs to 'https://gitlab.com/***/***.git'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question