405 B
405 B
| title | date | draft | snippet_types | |
|---|---|---|---|---|
| pushing to remote branch with different name | 2021-09-08T13:02:41+02:00 | false |
|
Some times you rename a branch locally and want to push it to a remote branch with a different name. This is how:
$ git push -u origin localBranch:remoteBranch
source: stack-overflow