mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
add note on updating remote branch name (#290)
* add note on updating remote branch name * Style edits.
This commit is contained in:
parent
bce2f0dd27
commit
76308321b0
@ -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
|
||||
(master)$ 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…
x
Reference in New Issue
Block a user