I git clone my old repository.
I list all branch:
$ git branch -r
origin/HEAD -> origin/master
origin/develop
origin/master
origin/release/1.1.0
origin/support/1.0.0
origin/support/1.0.2
I change url:
$ git remote set-url origin ssh://git@bitbucket.xx:1234/xxx-xxx/xxxxxxxx.git
I push code in new repository:
$ git push -f
My result is OK for master
branch but I want all branch find by git branch -r
. How to do please?
EDIT (but only master
branch is present in my new Bitbucket):
I try
git push --all
I try
git pull --all
git push --all
I try
git pull --all
git pull --mirror
git push --mirror
git push --all