mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-04-25 21:20:59 +03:00
docs(agit): don't mix master and and main branch name
This commit is contained in:
parent
a56da624db
commit
d8590a8beb
1 changed files with 2 additions and 2 deletions
|
@ -35,10 +35,10 @@ git push origin HEAD:refs/for/main/topic-branch
|
|||
|
||||
A detailed explanation illustrating the difference between using `-o topic` and `<session>` will follow shortly.
|
||||
|
||||
It is also possible to use some additional parameters, such as `title` and `description`. Here's another example targeting the `master` branch:
|
||||
It is also possible to use some additional parameters, such as `title` and `description`. Here's another example targeting the `main` branch:
|
||||
|
||||
```shell
|
||||
git push origin HEAD:refs/for/master -o topic="topic-branch" \
|
||||
git push origin HEAD:refs/for/main -o topic="topic-branch" \
|
||||
-o title="Title of the PR" \
|
||||
-o description="# The PR Description
|
||||
This can be **any** markdown content.\n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue