mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-03-13 09:58:07 -04:00
OK, I know I said that I'd drop this for now like a thousand times
... but there was this sentence that I just read again and it annoyed me :(
This commit is contained in:
parent
18df26e318
commit
c71eebd1da
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ git push origin HEAD:refs/for/remote-branch/local-branch \
|
|||
|
||||
This syntax may be a bit disorienting for users that are accustomed to commands such as `git push origin remote-branch` or `git push origin local-branch:remote-branch`.
|
||||
|
||||
Just like when using `git push origin remote-branch`, it is important to reiterate that supplying the local branch name is optional, as long as you checkout `local-branch` using `git checkout local-branch` beforehand and **use the `topic` push option**:
|
||||
Just like when using `git push origin remote-branch`, supplying the local branch name is optional, as long as you checkout `local-branch` using `git checkout local-branch` beforehand and **use the `topic` push option**:
|
||||
|
||||
```shell
|
||||
git checkout local-branch
|
||||
|
|
Loading…
Add table
Reference in a new issue