mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-02-08 04:26:39 -05:00
fix typo
This commit is contained in:
parent
4f96b73679
commit
c3ed73b805
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ Similarly to [Gerrit](https://www.gerritcodereview.com), it is possible to creat
|
||||||
|
|
||||||
Creating a new Pull Request can be done by pushing to the branch that you are targeting followed by a specific [refspec](https://git-scm.com/book/en/v2/Git-Internals-The-Refspec) (a location identifier known to Git).
|
Creating a new Pull Request can be done by pushing to the branch that you are targeting followed by a specific [refspec](https://git-scm.com/book/en/v2/Git-Internals-The-Refspec) (a location identifier known to Git).
|
||||||
|
|
||||||
For clarity, suppose that you cloned a repository and created a new commit on top of the `main` branch. Here is you can create a Pull Request targeting the `main` branch:
|
For clarity, suppose that you cloned a repository and created a new commit on top of the `main` branch. Here is how you would create a Pull Request targeting the `main` branch:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git push origin HEAD:refs/for/main -o topic="topic-branch"
|
git push origin HEAD:refs/for/main -o topic="topic-branch"
|
||||||
|
|
Loading…
Add table
Reference in a new issue