I have several branches with the following scheme
manual_test/other_test
manual_test/one_more
I would like to kjnow if there is anyway to push all the branches under manual_test to a remote
I have several branches with the following scheme
manual_test/other_test
manual_test/one_more
I would like to kjnow if there is anyway to push all the branches under manual_test to a remote
Yes. The full spelling of what push and fetch work with is called a "refspec", it specifies what refs to pick from the source and how they're supposed to look at the destination. When you say git push origin master
, Git looks at master
and fills in the bits you left out, master
is much easier to type than refs/heads/master:refs/heads/master
.
What you want is git push origin refs/heads/manual_test/*:refs/heads/manual_test/*