Add a note about pushing to differently named branch

This commit is contained in:
Asocia 2021-11-07 11:49:33 +03:00
parent 90750ec3d8
commit 57f9fe4882

View File

@ -65,3 +65,10 @@ To delete the old branch name:
``` ```
git push origin --delete bad-branch-name git push origin --delete bad-branch-name
``` ```
- Pushing a local branch into a remote branch that is named differently
```
# our branch is serverfix and we don't want to push it with this name
git push origin serverfix:awesomebranch
```