add note on updating remote branch name
This commit is contained in:
parent
bce2f0dd27
commit
243ba44af5
|
@ -1101,6 +1101,11 @@ To rename a different (local) branch:
|
|||
```sh
|
||||
(master)$ git branch -m old-name new-name
|
||||
```
|
||||
To Delete the old_name remote branch and push the new_name local branch
|
||||
|
||||
```sh
|
||||
$ git push origin :old_name new_name
|
||||
```
|
||||
|
||||
<a name="i-want-to-checkout-to-a-remote-branch-that-someone-else-is-working-on"></a>
|
||||
### I want to checkout to a remote branch that someone else is working on
|
||||
|
|
Loading…
Reference in New Issue