Push local branch to remote with different name:

$ git push <remote> <local_branch_name>:<remote_branch_name>
$ git push remote1 branch1:dev/test1

Leave a Reply