0

Steps as follows:

$ magento-cloud project:get e7s9kiwfapxcy
$ cd cloned-directory
$ git branch -a 

Output:

* master
remotes/magento/HEAD -> magento/master
remotes/magento/jcollins
remotes/magento/jcollins-child
remotes/magento/master

I created a new private repository in Bitbucket I created a new private repository in Bitbucket

git remote add origin [email protected]:justincoll/magento.git

Finally, I attempt to push all remote branches

git push -u origin --all

Result: Only master is pushed

1 Answer 1

0

step 1: (enter in cli)

for remote in `git branch -r | grep -v master `; do git checkout --track $remote ; done

step 2: (enter in cli)

git push -u origin --all

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.