mirror of
https://github.com/sahinakkaya/til.git
synced 2024-11-24 17:49:36 +01:00
Add a note about pushing to differently named branch
This commit is contained in:
parent
90750ec3d8
commit
57f9fe4882
@ -65,3 +65,10 @@ To delete the old 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
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user